Update tts_server.py - API request console output

This commit is contained in:
erew123 authored and GitHub committed 2024-04-06 11:45:32 +01:00
1 parent 0bdc66f6e5
commit fff01107c8
1 file changed
+1
+1
View File
@@ -1033,6 +1033,7 @@ async def tts_generate(
if JSONresult is None:
pass
else:
print(f"[{params['branding']}API] \033[91mError with API request:\033[0m", JSONresult)
return JSONResponse(content={"error": JSONresult}, status_code=400)
if narrator_enabled:
processed_parts = process_text(text_input)