Timothy J. Baek 1 gadu atpakaļ
vecāks
revīzija
0feaf6f649
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      backend/open_webui/apps/audio/main.py

+ 1 - 1
backend/open_webui/apps/audio/main.py

@@ -450,7 +450,7 @@ def transcribe(file_path):
                 except Exception:
                 except Exception:
                     error_detail = f"External: {e}"
                     error_detail = f"External: {e}"
 
 
-            raise error_detail
+            raise Exception(error_detail)
 
 
 
 
 @app.post("/transcriptions")
 @app.post("/transcriptions")