From 94b66b17972e0ad77954df4b81a6bb86a7a6a04b Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 19 May 2026 21:35:12 +0400 Subject: [PATCH] refac --- backend/open_webui/routers/files.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,