Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dicklesworthstone committed May 21, 2024
1 parent d1e3400 commit 032e1ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ async def parse_submitted_document_file_into_sentence_strings_func(temp_file_pat
else:
try:
if mime_type == 'application/pdf':
# Process PDF with pdfminer first
content = textract.process(temp_file_path, method='pdfminer')
else:
content = textract.process(temp_file_path)
Expand Down

0 comments on commit 032e1ab

Please sign in to comment.