Add real-time language interpreter feature

This commit adds a real-time interpreter mode to the Voice Language Translator:
- Implements continuous speech-to-translation capabilities using WebSockets
- Adds background processing threads for audio, transcription, and TTS
- Adds client-side speech detection and streaming
- Updates UI to include real-time interpreter controls
- Adds necessary dependencies (flask-socketio, eventlet)
This commit is contained in:
adelorenzo
2025-04-12 00:39:16 -06:00
parent 5a7f5f04ad
commit d46df7939a
4 changed files with 666 additions and 384 deletions

View File

@@ -3,3 +3,5 @@ requests
openai-whisper
torch
ollama
flask-socketio
eventlet