mirror of
https://github.com/open-webui/open-webui
synced 2024-11-29 07:21:01 +00:00
refac
This commit is contained in:
parent
595cf191fb
commit
0feaf6f649
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user