Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def download_pdf():
|
|
| 46 |
print("Extracted Keywords:", keyword)
|
| 47 |
createDF=False
|
| 48 |
|
| 49 |
-
pdfbytes = findspecsv1.extract_section_under_header(
|
| 50 |
if pdf_content is None:
|
| 51 |
return "PDF content not found.", 404
|
| 52 |
|
|
|
|
| 46 |
print("Extracted Keywords:", keyword)
|
| 47 |
createDF=False
|
| 48 |
|
| 49 |
+
pdfbytes = findspecsv1.extract_section_under_header(pdf_link, keyword)[0]
|
| 50 |
if pdf_content is None:
|
| 51 |
return "PDF content not found.", 404
|
| 52 |
|