Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def download_pdf():
|
|
| 50 |
|
| 51 |
print("Extracted PDF Link:", pdf_link)
|
| 52 |
print("Extracted Keywords:", keyword)
|
| 53 |
-
pdf_content, pageNumTextFound, highlight_rect = Find_Hyperlinking_text.annotate_text_from_pdf([pdf_link],
|
| 54 |
if pdf_content is None:
|
| 55 |
return "PDF content not found.", 404
|
| 56 |
|
|
|
|
| 50 |
|
| 51 |
print("Extracted PDF Link:", pdf_link)
|
| 52 |
print("Extracted Keywords:", keyword)
|
| 53 |
+
pdf_content, pageNumTextFound, highlight_rect = Find_Hyperlinking_text.annotate_text_from_pdf([pdf_link], keyword)
|
| 54 |
if pdf_content is None:
|
| 55 |
return "PDF content not found.", 404
|
| 56 |
|