Corrections mineures

This commit is contained in:
Fabrication du Numérique 2025-05-28 15:29:16 +02:00
parent 959e2be867
commit c2cf505b48
3 changed files with 3 additions and 2 deletions

View File

@ -185,6 +185,7 @@ def interface_ia_nalyse(G_temp):
if st.button(str(_("pages.ia_nalyse.confirm_download"))):
nettoyage_post_telechargement(st.session_state.username)
st.session_state["telechargement_confirme"] = True
st.rerun()
else:
st.success("Résultat supprimé. Vous pouvez relancer une nouvelle analyse.")
if st.button(str(_("buttons.refresh"))):

View File

@ -1 +1 @@
{}
{}

View File

@ -15,7 +15,7 @@ CORPUS_DIR = BASE_DIR.parent / "Corpus"
THRESHOLDS_PATH = BASE_DIR.parent / "assets" / "config.yaml"
REFERENCE_GRAPH_PATH = BASE_DIR.parent / "schema.txt"
GRAPH_PATH = BASE_DIR.parent / "graphe.dot"
TEMP_SECTIONS = BASE_DIR.parent / "temp_sections"
TEMP_SECTIONS = BASE_DIR / "temp_sections"
session_uuid = init_uuid()
TEMPLATE_PATH = TEMP_SECTIONS / f"rapport_final - {session_uuid}.md"