iisadia commited on
Commit
718ebd5
Β·
verified Β·
1 Parent(s): 600d7ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -225,6 +225,8 @@ def main():
225
  time.sleep(0.5)
226
  st.session_state.results = results
227
 
 
 
228
  # Display Results
229
  if 'results' in st.session_state:
230
  st.subheader("πŸ“Š Analysis Results")
@@ -262,7 +264,7 @@ def main():
262
  with col2:
263
  if st.button("πŸ“„ Generate PDF Report", type="secondary", use_container_width=True):
264
  with st.spinner("Generating PDF..."):
265
- pdf_report = generate_pdf_report(st.session_state.results)
266
  with open(pdf_report, "rb") as f:
267
  st.download_button(
268
  label="⬇️ Download Full Report",
 
225
  time.sleep(0.5)
226
  st.session_state.results = results
227
 
228
+ print("Final Results:", results)
229
+
230
  # Display Results
231
  if 'results' in st.session_state:
232
  st.subheader("πŸ“Š Analysis Results")
 
264
  with col2:
265
  if st.button("πŸ“„ Generate PDF Report", type="secondary", use_container_width=True):
266
  with st.spinner("Generating PDF..."):
267
+ pdf_report = generate_pdf_report(results)
268
  with open(pdf_report, "rb") as f:
269
  st.download_button(
270
  label="⬇️ Download Full Report",