Spaces:
Build error
Build error
Commit ·
35ac861
1
Parent(s): 399f80b
Update app.py
Browse files
app.py
CHANGED
|
@@ -102,15 +102,15 @@ def mod_resumen_dataframe(eleccion, suma):
|
|
| 102 |
global resumen
|
| 103 |
|
| 104 |
if(eleccion == "Desayuno"):
|
| 105 |
-
resumen[
|
| 106 |
elif (eleccion == "Almuerzo"):
|
| 107 |
-
resumen[
|
| 108 |
elif (eleccion == "Comida"):
|
| 109 |
-
resumen[
|
| 110 |
elif (eleccion == "Merienda"):
|
| 111 |
-
resumen[
|
| 112 |
elif (eleccion == "Cena"):
|
| 113 |
-
resumen[
|
| 114 |
|
| 115 |
'''
|
| 116 |
def cargar_dataframe_3(eleccion):
|
|
|
|
| 102 |
global resumen
|
| 103 |
|
| 104 |
if(eleccion == "Desayuno"):
|
| 105 |
+
resumen["Total"][0] = suma
|
| 106 |
elif (eleccion == "Almuerzo"):
|
| 107 |
+
resumen["Total"][1] = suma
|
| 108 |
elif (eleccion == "Comida"):
|
| 109 |
+
resumen["Total"][2] = suma
|
| 110 |
elif (eleccion == "Merienda"):
|
| 111 |
+
resumen["Total"][3] = suma
|
| 112 |
elif (eleccion == "Cena"):
|
| 113 |
+
resumen["Total"][4] = suma
|
| 114 |
|
| 115 |
'''
|
| 116 |
def cargar_dataframe_3(eleccion):
|