diff --git a/backend/open_webui/routers/audio.py b/backend/beyond_the_loop/routers/audio.py similarity index 99% rename from backend/open_webui/routers/audio.py rename to backend/beyond_the_loop/routers/audio.py index c1b15772b..8e17821e9 100644 --- a/backend/open_webui/routers/audio.py +++ b/backend/beyond_the_loop/routers/audio.py @@ -495,7 +495,7 @@ def transcribe(request: Request, file_path): "Authorization": f"Bearer {request.app.state.config.STT_OPENAI_API_KEY}" }, files={"file": (filename, open(file_path, "rb"))}, - data={"model": request.app.state.config.STT_MODEL}, + data={"model": request.app.state.config.STT_MODEL, "language": "de"}, ) r.raise_for_status() diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index 4adafd6cd..90ce23499 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -39,7 +39,6 @@ from open_webui.socket.main import ( periodic_usage_pool_cleanup, ) from open_webui.routers import ( - audio, images, ollama, retrieval, @@ -61,7 +60,7 @@ from open_webui.routers import ( users, utils, ) -from beyond_the_loop.routers import openai +from beyond_the_loop.routers import openai, audio from open_webui.routers.retrieval import ( get_embedding_function,