Skip to content

Commit

Permalink
Try with pdf name
Browse files Browse the repository at this point in the history
  • Loading branch information
duckduckgrayduck committed Jun 27, 2024
1 parent af59043 commit db6c1bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def main(self):
pdf = self.download_file(s3_url, f"{document.title}.pdf")

document_info = extractor.start_document_text_detection(
f"s3://s3.documentcloud.org/documents/{document.id}/"
f"s3://s3.documentcloud.org/documents/{document.id}/{document.title}.pdf"
)
print(document_info)
"""pages = []
Expand Down

0 comments on commit db6c1bc

Please sign in to comment.