mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-15 16:35:59 +08:00
refac: openai already supports webm audio
This commit is contained in:
parent
e60fa7927d
commit
bfa5550cc3
@ -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…
x
Reference in New Issue
Block a user