Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -237,7 +237,7 @@ def main():
|
|
237 |
|
238 |
uploaded_file = st.file_uploader('Choose your .pdf file', type="pdf")
|
239 |
print(uploaded_file)
|
240 |
-
if uploaded_file :
|
241 |
pdf_reader = PdfReader(uploaded_file)
|
242 |
text = ""
|
243 |
for page in pdf_reader.pages:
|
|
|
237 |
|
238 |
uploaded_file = st.file_uploader('Choose your .pdf file', type="pdf")
|
239 |
print(uploaded_file)
|
240 |
+
if uploaded_file is not None:
|
241 |
pdf_reader = PdfReader(uploaded_file)
|
242 |
text = ""
|
243 |
for page in pdf_reader.pages:
|