Fixed workflow tts feature audition (#4867)

This commit is contained in:
Charlie.Wei authored and GitHub committed 2024-06-03 00:22:14 +08:00
1 parent 41e536109b
commit d058a234ba
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ class ChatMessageTextApi(Resource):
response = AudioService.transcript_tts(
app_model=app_model,
text=request.form['text'],
voice=request.form['voice'] if request.form.get('voice') else app_model.app_model_config.text_to_speech_dict.get('voice'),
voice=request.form['voice'],
streaming=False
)