Ilyas KHIAT
commited on
Commit
·
c7d2c34
1
Parent(s):
154525a
prompts suggestions and pdf fix
Browse files- export_doc.py +0 -1
export_doc.py
CHANGED
|
@@ -225,7 +225,6 @@ def export_conversation(summary,used_models=None):
|
|
| 225 |
pdf = create_pdf_from_markdown(logo_path=logo_path, conversation=conversation,summary=summary,brand_name=brand_name,graph_html=graph,app_url=app_url,list_pps=list_pps,used_models=used_models)
|
| 226 |
except Exception as e:
|
| 227 |
pdf = None
|
| 228 |
-
st.error(f"{e}")
|
| 229 |
|
| 230 |
if pdf:
|
| 231 |
st.success("PDF généré avec succès!}")
|
|
|
|
| 225 |
pdf = create_pdf_from_markdown(logo_path=logo_path, conversation=conversation,summary=summary,brand_name=brand_name,graph_html=graph,app_url=app_url,list_pps=list_pps,used_models=used_models)
|
| 226 |
except Exception as e:
|
| 227 |
pdf = None
|
|
|
|
| 228 |
|
| 229 |
if pdf:
|
| 230 |
st.success("PDF généré avec succès!}")
|