diff --git a/backend/open_webui/routers/files.py b/backend/open_webui/routers/files.py index 3c838524e8..e0ed870787 100644 --- a/backend/open_webui/routers/files.py +++ b/backend/open_webui/routers/files.py @@ -119,8 +119,7 @@ async def process_uploaded_file( if content_type and strict_match_mime_type(stt_supported, content_type): # Audio / STT-supported files → transcribe then index file_path_processed = await asyncio.to_thread(Storage.get_file, file_path) - result = await asyncio.to_thread( - transcribe, + result = await transcribe( request, file_path_processed, file_metadata,