Spaces:
Sleeping
Sleeping
Update src/app.py
Browse files- src/app.py +2 -2
src/app.py
CHANGED
|
@@ -65,10 +65,10 @@ process = st.sidebar.button("Submit")
|
|
| 65 |
# st.warning("Please upload a PDF file.")
|
| 66 |
|
| 67 |
if process:
|
| 68 |
-
if uploaded_file is not None
|
| 69 |
process_pdf(uploaded_file)
|
| 70 |
else:
|
| 71 |
-
st.warning("Please upload
|
| 72 |
|
| 73 |
|
| 74 |
if input_method == "Choose input method...":
|
|
|
|
| 65 |
# st.warning("Please upload a PDF file.")
|
| 66 |
|
| 67 |
if process:
|
| 68 |
+
if uploaded_file is not None:
|
| 69 |
process_pdf(uploaded_file)
|
| 70 |
else:
|
| 71 |
+
st.warning("Please upload a PDF file.")
|
| 72 |
|
| 73 |
|
| 74 |
if input_method == "Choose input method...":
|