Ilyas KHIAT commited on
Commit
bc622d3
1 Parent(s): 186f423

pdf export

Browse files
Files changed (1) hide show
  1. export_doc.py +1 -1
export_doc.py CHANGED
@@ -62,6 +62,6 @@ def export_conversation(summary):
62
  image_path = "newplot.png"
63
  pdf = create_pdf_from_markdown(logo_path, image_path, conversation,summary)
64
  st.success("PDF généré avec succès!")
65
- if st.download_button("Télécharger le PDF", data=pdf, file_name=f"Cartographie {st.session_state["Nom de la marque"]}.pdf", mime="application/pdf"):
66
  st.rerun()
67
 
 
62
  image_path = "newplot.png"
63
  pdf = create_pdf_from_markdown(logo_path, image_path, conversation,summary)
64
  st.success("PDF généré avec succès!")
65
+ if st.download_button("Télécharger le PDF", data=pdf, file_name=f"Cartographie {st.session_state['Nom de la marque']}.pdf", mime="application/pdf"):
66
  st.rerun()
67