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
This commit is contained in:
KevinB-T committed 2026-05-20 16:34:50 +05:30
1 parent 3abb5e9281
commit 9517bad3dc
10 files changed
+674 -73

No files matched your search

+6
View File
@@ -8,9 +8,15 @@ 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