mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-16 13:36:00 +08:00
refac
This commit is contained in:
parent
1c665592e4
commit
549989e9ec
@ -544,7 +544,6 @@ def transcribe(request: Request, file_path):
|
||||
elif request.app.state.config.STT_ENGINE == "openai":
|
||||
convert_format = get_audio_convert_format(file_path)
|
||||
|
||||
print(f"convert_format: {convert_format}")
|
||||
if convert_format:
|
||||
ext = convert_format.split(".")[-1]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user