NEXAS commited on
Commit
447c247
·
verified ·
1 Parent(s): 7b5b47d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -14,7 +14,7 @@ load_dotenv()
14
 
15
  # Page configuration
16
  st.set_page_config(
17
- page_title="Naresh AI - PDF Intelligence",
18
  page_icon="📄",
19
  layout="wide",
20
  )
@@ -189,7 +189,7 @@ with st.sidebar:
189
  st.info("High-speed PDF intelligence powered by Groq and FastEmbed.")
190
 
191
  # Header
192
- st.title("Naresh AI DocuPulse")
193
  st.subheader("Challenge B: PDF RAG & Summarization")
194
 
195
  # File Upload
@@ -211,7 +211,9 @@ if uploaded_file and (st.session_state.pdf_agent is None or uploaded_file.name !
211
  st.toast("Intelligence Engine Initialized", icon="🧠")
212
 
213
  except Exception as e:
214
- st.error(f"Error processing PDF: {e}")
 
 
215
 
216
 
217
  # Helper for Exact Backoff
 
14
 
15
  # Page configuration
16
  st.set_page_config(
17
+ page_title="Naresh AI DocuPulse Submission - PDF Intelligence",
18
  page_icon="📄",
19
  layout="wide",
20
  )
 
189
  st.info("High-speed PDF intelligence powered by Groq and FastEmbed.")
190
 
191
  # Header
192
+ st.title("Naresh AI DocuPulse - Submission")
193
  st.subheader("Challenge B: PDF RAG & Summarization")
194
 
195
  # File Upload
 
211
  st.toast("Intelligence Engine Initialized", icon="🧠")
212
 
213
  except Exception as e:
214
+ st.error(f"Critical Ingestion Error: {e}")
215
+ with st.expander("Show Traceback"):
216
+ st.code(traceback.format_exc())
217
 
218
 
219
  # Helper for Exact Backoff