From c2cf505b48d18b332acd50e51961473ff9d8b499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrication=20du=20Num=C3=A9rique?= Date: Wed, 28 May 2025 15:29:16 +0200 Subject: [PATCH] Corrections mineures --- app/ia_nalyse/interface.py | 1 + batch_ia/status.json | 2 +- batch_ia/utils/config.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/ia_nalyse/interface.py b/app/ia_nalyse/interface.py index bb3672f..54c7f09 100644 --- a/app/ia_nalyse/interface.py +++ b/app/ia_nalyse/interface.py @@ -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"))): diff --git a/batch_ia/status.json b/batch_ia/status.json index 0967ef4..9e26dfe 100644 --- a/batch_ia/status.json +++ b/batch_ia/status.json @@ -1 +1 @@ -{} +{} \ No newline at end of file diff --git a/batch_ia/utils/config.py b/batch_ia/utils/config.py index 0ace1f6..00066ca 100644 --- a/batch_ia/utils/config.py +++ b/batch_ia/utils/config.py @@ -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"