mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac: openai already supports webm audio
This commit is contained in:
parent
e60fa7927d
commit
bfa5550cc3
1 changed files with 1 additions and 2 deletions
|
|
@ -86,8 +86,7 @@ def get_audio_format(file_path):
|
|||
return "mp4"
|
||||
elif info.get("format_name") == "ogg":
|
||||
return "ogg"
|
||||
elif info.get("format_name") == "matroska,webm":
|
||||
return "webm"
|
||||
|
||||
return None
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue