This commit is contained in:
Timothy Jaeryang Baek
2026-04-14 10:55:11 -05:00
parent 804f9f3153
commit 4866bec0f2
3 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -1612,7 +1612,7 @@ async def process_file(
# Usage: /files/
file_path = file.path
if file_path:
file_path = Storage.get_file(file_path)
file_path = await asyncio.to_thread(Storage.get_file, file_path)
loader = Loader(
engine=request.app.state.config.CONTENT_EXTRACTION_ENGINE,
user=user,