This commit is contained in:
matatonic 2024-03-20 13:44:23 -04:00
parent b4bd033514
commit 62c9d3caac
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ async def generate_speech(request: GenerateSpeechRequest):
# Use xtts for tts-1-hd
elif model == 'tts-1-hd':
tts_model, speaker = model, speaker = map_voice_to_speaker(voice, 'tts-1-hd')
tts_model, speaker = map_voice_to_speaker(voice, 'tts-1-hd')
if not xtts or xtts.model_name != tts_model:
xtts = xtts_wrapper(tts_model, device=args.xtts_device)

View File

@ -1,5 +1,5 @@
fastapi
uvicorn
piper-tts
onnxruntime-gpu
TTS
onnxruntime-gpu