Update app.py
Browse files
app.py
CHANGED
|
@@ -268,7 +268,7 @@ if st.session_state.current_conversation:
|
|
| 268 |
if st.button("📥 Export Conversation as PDF"):
|
| 269 |
pdf_bytes = generate_pdf(convo, st.session_state.current_conversation)
|
| 270 |
if pdf_bytes:
|
| 271 |
-
st.download_button("Download PDF", pdf_bytes, file_name="
|
| 272 |
else:
|
| 273 |
st.error("❌ Failed to generate PDF.")
|
| 274 |
|
|
|
|
| 268 |
if st.button("📥 Export Conversation as PDF"):
|
| 269 |
pdf_bytes = generate_pdf(convo, st.session_state.current_conversation)
|
| 270 |
if pdf_bytes:
|
| 271 |
+
st.download_button("Download PDF", pdf_bytes, file_name="TellMeWhy_Conversation.pdf", mime="application/pdf")
|
| 272 |
else:
|
| 273 |
st.error("❌ Failed to generate PDF.")
|
| 274 |
|