فهرست منبع

refac: openai already supports webm audio

Timothy Jaeryang Baek 5 ماه پیش
والد
کامیت
bfa5550cc3
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      backend/open_webui/routers/audio.py

+ 1 - 2
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