aboutsummaryrefslogtreecommitdiff
path: root/working/meeting-transcription-service/systemd/meeting-transcribe.service
diff options
context:
space:
mode:
Diffstat (limited to 'working/meeting-transcription-service/systemd/meeting-transcribe.service')
-rw-r--r--working/meeting-transcription-service/systemd/meeting-transcribe.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/working/meeting-transcription-service/systemd/meeting-transcribe.service b/working/meeting-transcription-service/systemd/meeting-transcribe.service
new file mode 100644
index 0000000..92f5ef4
--- /dev/null
+++ b/working/meeting-transcription-service/systemd/meeting-transcribe.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Transcribe queued meeting recordings (whisper + pyannote)
+
+[Service]
+Type=oneshot
+ExecStart=%h/.local/share/pyannote-diarize/src/transcribe-worker
+# The pyannote model is cached after its first download; never reach for the network.
+Environment=HF_HUB_OFFLINE=1
+Nice=5