Add TTS/STT service with Coqui TTS and faster-whisper
- Added tts-stt service definition to docker-compose.yml - Created tts-stt directory with: - Dockerfile: Based on debian:trixie-slim with ROCm dependencies - requirements.txt: Python packages including TTS, faster-whisper, FastAPI - app.py: FastAPI service with /tts and /stt endpoints - Service includes GPU device mapping (/dev/kfd, /dev/dri) for ROCm acceleration - Uses YourTTS multilingual model for TTS and large-v3 for Whisper - Configured to use persistent storage for models and cache
This commit is contained in:
7
ai/tts-stt/requirements.txt
Normal file
7
ai/tts-stt/requirements.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
fastapi==0.104.1
|
||||
uvicorn[standard]==0.24.0
|
||||
TTS==0.22.0
|
||||
faster-whisper==1.0.3
|
||||
python-multipart==0.0.6
|
||||
torch==2.3.0
|
||||
torchaudio==2.3.0
|
||||
Reference in New Issue
Block a user