Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dicklesworthstone committed May 20, 2024
1 parent 220a653 commit 18aabea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swiss_army_llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ async def convert_document_to_sentences(
result = magika.identify_bytes(input_data_binary)
mime_type = result.output.mime_type
try:
result = convert_document_to_sentences_func(temp_file_path, mime_type)
result = await convert_document_to_sentences_func(temp_file_path, mime_type)
finally:
os.remove(temp_file_path)
return JSONResponse(content=result)

0 comments on commit 18aabea

Please sign in to comment.