Aaron Boxer
18b897277f
Add real-time speaker diarization support
...
- New whisper_live/diarization.py: SpeakerDiarizer with online clustering
- Uses pyannote.audio speaker embeddings (optional dependency)
- Cosine similarity threshold for speaker matching (default 0.55)
- Running average embedding update for speaker stability
- Configurable max_speakers limit (default 10)
- Client options: enable_diarization, max_speakers
- Segments include 'speaker' field when diarization is active
- Graceful fallback: logs warning if pyannote not installed
- Added 12 unit tests (mock-based, no GPU required)
2026-05-13 10:50:59 -04:00
Aaron Boxer
4210697ca6
Add custom vocabulary / hotwords support
2026-05-13 10:32:28 -04:00
makaveli10
5ce401d4c6
Update test_client to expect translation args
...
Signed-off-by: makaveli10 <vineet.suryan@collabora.com >
2025-07-22 09:06:31 +00:00
makaveli10
bf6251e3b8
Fix max_client, max_connection_time failed tests
...
Signed-off-by: makaveli10 <vineet.suryan@collabora.com >
2025-07-21 23:09:16 +05:30
giubots
9cfd8f85b6
test: add new parameters to tests
2025-05-02 11:58:17 +02:00
makaveli10
8d89de22d8
Update tests to incorporate the completed boolean in segments
...
Signed-off-by: makaveli10 <suryanvineet47@gmail.com >
2024-11-05 18:12:09 +05:30
makaveli10
8b87a0562d
Fix unittest to exposed client manager args
...
Signed-off-by: makaveli10 <suryanvineet47@gmail.com >
2024-10-28 17:01:06 +05:30
John Sichi
c0f37c77e9
Remove camelcase
2024-03-10 20:49:17 +09:00
John Sichi
3b15dc76b4
Add support for processing same audio stream via multiple clients with different tasks.
2024-03-10 20:44:15 +09:00
makaveli10
b42ced9816
fix: tests for end of speech message while mocking pyaudio
2024-02-16 20:31:38 +05:30
makaveli10
9fbff47126
🔨 refactor whisper_live according to flake8
2024-02-09 13:45:13 +05:30
makaveli10
cf78d5d608
add client tests
2024-02-08 14:03:13 +05:30
makaveli
6071cc1cc5
Revert "Test pypi upload"
2024-02-08 12:23:15 +05:30
makaveli10
567ceb1246
add pyaudio mock; refactor 🔨
2024-02-08 11:12:40 +05:30
makaveli10
84a97f5fdd
remove whisper_live from patch to mock websocket
2024-02-07 23:47:29 +05:30
makaveli10
444ce63440
add unit tests
2024-02-07 23:33:24 +05:30