Update openai_compatible.py

This commit is contained in:
remsky 2025-02-12 23:31:47 -07:00 committed by GitHub
parent 694b7435f1
commit f585185404
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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