mirror of
https://github.com/matatonic/openedai-speech
synced 2025-06-26 18:16:32 +00:00
typo
This commit is contained in:
parent
b4bd033514
commit
62c9d3caac
2
main.py
2
main.py
@ -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)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
fastapi
|
||||
uvicorn
|
||||
piper-tts
|
||||
onnxruntime-gpu
|
||||
TTS
|
||||
onnxruntime-gpu
|
||||
Loading…
Reference in New Issue
Block a user