mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-26 15:20:59 -05:00
refac: openai already supports webm audio
This commit is contained in:
1 parent
e60fa7927d
commit
bfa5550cc3
1 file changed
+1
-2
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user