mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-04-13 09:39:17 +00:00
Update openai_compatible.py
This commit is contained in:
parent
694b7435f1
commit
f585185404
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ async def stream_audio_chunks(
|
|||
voice=voice_name,
|
||||
speed=request.speed,
|
||||
output_format=request.response_format,
|
||||
lang_code = request.lang_code or settings.default_voice_code or voice_name[0].lower(),
|
||||
lang_code=request.lang_code or settings.default_voice_code or voice_name[0].lower(),
|
||||
normalization_options=request.normalization_options
|
||||
):
|
||||
# Check if client is still connected
|
||||
|
|
Loading…
Add table
Reference in a new issue