From 0feaf6f649a5ce21f5f260833c61b4eb1d05ed90 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 8 Oct 2024 13:39:27 -0700 Subject: [PATCH] refac --- backend/open_webui/apps/audio/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/apps/audio/main.py b/backend/open_webui/apps/audio/main.py index 0e5672013..6398b9ee1 100644 --- a/backend/open_webui/apps/audio/main.py +++ b/backend/open_webui/apps/audio/main.py @@ -450,7 +450,7 @@ def transcribe(file_path): except Exception: error_detail = f"External: {e}" - raise error_detail + raise Exception(error_detail) @app.post("/transcriptions")