Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def extract_text_from_pdf(pdf_file):
|
|
| 21 |
text += page.extract_text()
|
| 22 |
return text
|
| 23 |
|
| 24 |
-
|
| 25 |
pdf_file = st.file_uploader("Upload PDF", type=["pdf"])
|
| 26 |
if pdf_file is not None:
|
| 27 |
st.write("Processing the PDF...")
|
|
|
|
| 21 |
text += page.extract_text()
|
| 22 |
return text
|
| 23 |
|
| 24 |
+
# File uploader
|
| 25 |
pdf_file = st.file_uploader("Upload PDF", type=["pdf"])
|
| 26 |
if pdf_file is not None:
|
| 27 |
st.write("Processing the PDF...")
|