mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac
This commit is contained in:
@@ -544,7 +544,6 @@ def transcribe(request: Request, file_path):
|
|||||||
elif request.app.state.config.STT_ENGINE == "openai":
|
elif request.app.state.config.STT_ENGINE == "openai":
|
||||||
convert_format = get_audio_convert_format(file_path)
|
convert_format = get_audio_convert_format(file_path)
|
||||||
|
|
||||||
print(f"convert_format: {convert_format}")
|
|
||||||
if convert_format:
|
if convert_format:
|
||||||
ext = convert_format.split(".")[-1]
|
ext = convert_format.split(".")[-1]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user