Mom-Portal/scripts/orphion-whisper.service
KevinB-T 9517bad3dc feat: add WhisperX diarization and speaker transcript UI
- add WhisperX diarization support to the Whisper VM server
- normalize speaker timestamp segments from Whisper responses
- document Hugging Face/pyannote VM setup and health checks
- show diarized speaker transcript blocks in record and transcript views
- group consecutive segments from the same speaker
- remove duplicate paragraph transcript display when diarized segments exist
- let diarized transcript content expand without an inner scrollbar
2026-05-20 16:34:50 +05:30

26 lines
756 B
Desktop File

[Unit]
Description=Orphion Faster-Whisper HTTP API
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=cezen
Group=cezen
WorkingDirectory=/home/cezen/whisper
EnvironmentFile=-/home/cezen/whisper/.env
Environment=WHISPER_MODEL=large-v3
Environment=WHISPER_MODEL_DIR=/home/cezen/whisper/models
Environment=WHISPER_FILE_FIELD=file
Environment=WHISPERX_DIARIZATION=true
Environment=WHISPERX_DEVICE=cuda
Environment=WHISPERX_COMPUTE_TYPE=float16
Environment=WHISPERX_BATCH_SIZE=8
Environment=WHISPERX_DIARIZATION_MODEL=pyannote/speaker-diarization-community-1
ExecStart=/home/cezen/whisper/venv/bin/python /home/cezen/whisper/server.py --host 0.0.0.0 --port 8000
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target