Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,9 @@ for index in range(0, len(montants), 3):
|
|
| 32 |
with cols[i]:
|
| 33 |
if st.button(f"{montant}€"):
|
| 34 |
ajouter_argent(montant)
|
|
|
|
| 35 |
|
| 36 |
# Bouton pour réinitialiser
|
| 37 |
if st.button('Réinitialiser'):
|
| 38 |
-
st.session_state.total_paye = 0.0
|
|
|
|
|
|
| 32 |
with cols[i]:
|
| 33 |
if st.button(f"{montant}€"):
|
| 34 |
ajouter_argent(montant)
|
| 35 |
+
st.rerun()
|
| 36 |
|
| 37 |
# Bouton pour réinitialiser
|
| 38 |
if st.button('Réinitialiser'):
|
| 39 |
+
st.session_state.total_paye = 0.0
|
| 40 |
+
st.rerun()
|