From bfa5550cc38dcdd2b95bdb605bb91451c60bac93 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 8 May 2025 22:44:32 +0400 Subject: [PATCH] refac: openai already supports webm audio --- backend/open_webui/routers/audio.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/open_webui/routers/audio.py b/backend/open_webui/routers/audio.py index 5952bb59c..9f053351d 100644 --- a/backend/open_webui/routers/audio.py +++ b/backend/open_webui/routers/audio.py @@ -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