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"