Update app.py
Browse files
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(
|
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",
|