Spaces:
Build error
Build error
Commit ·
ca12a1c
1
Parent(s): 9290e6a
Update app.py
Browse files
app.py
CHANGED
|
@@ -227,7 +227,9 @@ Tabla1 = gr.Interface(
|
|
| 227 |
#),
|
| 228 |
|
| 229 |
#],
|
| 230 |
-
inputs="number",
|
|
|
|
|
|
|
| 231 |
outputs="dataframe",
|
| 232 |
#gr.Textbox(label="Total kcal")],
|
| 233 |
description="Desglose de los alimentos y sus calorías, así como recuento total.",
|
|
@@ -235,11 +237,11 @@ Tabla1 = gr.Interface(
|
|
| 235 |
|
| 236 |
Tabla2 = gr.Interface(
|
| 237 |
fn=cargar_dataframe_3,
|
| 238 |
-
inputs= "number",
|
|
|
|
| 239 |
outputs="dataframe",
|
| 240 |
#gr.Textbox(label="Total kcal")],
|
| 241 |
#outputs = gr.Textbox(label="Total kcal"),
|
| 242 |
-
live=True,
|
| 243 |
description="Desglose de los alimentos y sus calorías, así como recuento total.",
|
| 244 |
)
|
| 245 |
|
|
|
|
| 227 |
#),
|
| 228 |
|
| 229 |
#],
|
| 230 |
+
#inputs="number",
|
| 231 |
+
live=True,
|
| 232 |
+
capture_session=True,
|
| 233 |
outputs="dataframe",
|
| 234 |
#gr.Textbox(label="Total kcal")],
|
| 235 |
description="Desglose de los alimentos y sus calorías, así como recuento total.",
|
|
|
|
| 237 |
|
| 238 |
Tabla2 = gr.Interface(
|
| 239 |
fn=cargar_dataframe_3,
|
| 240 |
+
#inputs= "number",
|
| 241 |
+
live=True,
|
| 242 |
outputs="dataframe",
|
| 243 |
#gr.Textbox(label="Total kcal")],
|
| 244 |
#outputs = gr.Textbox(label="Total kcal"),
|
|
|
|
| 245 |
description="Desglose de los alimentos y sus calorías, así como recuento total.",
|
| 246 |
)
|
| 247 |
|