Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -161,8 +161,8 @@ if not st.session_state.pdf_path and not pdf_url_entered:
|
|
161 |
st.info("📥 **Please upload a PDF or enter a valid URL to proceed.**")
|
162 |
|
163 |
# PDF URL Exists but Not Processed Yet (Only show if URL exists but hasn't been downloaded)
|
164 |
-
elif pdf_url_entered and not st.session_state.pdf_loaded:
|
165 |
-
st.warning("⚠️ **PDF URL detected! Click 'Download and Process PDF' to proceed.**")
|
166 |
|
167 |
# Processing in Progress
|
168 |
elif st.session_state.get("trigger_download", False) and (
|
|
|
161 |
st.info("📥 **Please upload a PDF or enter a valid URL to proceed.**")
|
162 |
|
163 |
# PDF URL Exists but Not Processed Yet (Only show if URL exists but hasn't been downloaded)
|
164 |
+
#elif pdf_url_entered and not st.session_state.pdf_loaded:
|
165 |
+
# st.warning("⚠️ **PDF URL detected! Click 'Download and Process PDF' to proceed.**")
|
166 |
|
167 |
# Processing in Progress
|
168 |
elif st.session_state.get("trigger_download", False) and (
|