Update app.py
Browse files
app.py
CHANGED
|
@@ -2273,7 +2273,7 @@ def display_page(pathname):
|
|
| 2273 |
|
| 2274 |
@callback(
|
| 2275 |
Output("output-response", "children"),
|
| 2276 |
-
Output("notification_wrapper", "children", allow_duplicate=True),
|
| 2277 |
Input("num-bcc", "value"),
|
| 2278 |
Input("maquette-dropdown", "value"),
|
| 2279 |
Input("submit-button", "n_clicks"),
|
|
@@ -2382,7 +2382,7 @@ def display_status(num_bcc, current, n_clicks, pathname):
|
|
| 2382 |
print(f"{idx}. {cat['nom']} - {cat['description'][:50]}...")
|
| 2383 |
|
| 2384 |
# Mettre à jour l'état avec les catégories générées
|
| 2385 |
-
return html.Div(children=[dbc.Table.from_dataframe(df[["diplome", "RNCP", "Année d'étude", "Semestre", "BCC", "UE", "ECUE","exemple_situation_apprentissage"]], striped=True, bordered=True, hover=True, index=False)
|
| 2386 |
|
| 2387 |
except Exception as e:
|
| 2388 |
print(f"Erreur lors du chargement/prétraitement du fichier: {e}")
|
|
|
|
| 2273 |
|
| 2274 |
@callback(
|
| 2275 |
Output("output-response", "children"),
|
| 2276 |
+
#Output("notification_wrapper", "children", allow_duplicate=True),
|
| 2277 |
Input("num-bcc", "value"),
|
| 2278 |
Input("maquette-dropdown", "value"),
|
| 2279 |
Input("submit-button", "n_clicks"),
|
|
|
|
| 2382 |
print(f"{idx}. {cat['nom']} - {cat['description'][:50]}...")
|
| 2383 |
|
| 2384 |
# Mettre à jour l'état avec les catégories générées
|
| 2385 |
+
return html.Div(children=[dbc.Table.from_dataframe(df[["diplome", "RNCP", "Année d'étude", "Semestre", "BCC", "UE", "ECUE","exemple_situation_apprentissage"]], striped=True, bordered=True, hover=True, index=False)])
|
| 2386 |
|
| 2387 |
except Exception as e:
|
| 2388 |
print(f"Erreur lors du chargement/prétraitement du fichier: {e}")
|