ProyectoVision commited on
Commit
296cd14
·
1 Parent(s): e9b74c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -218,7 +218,7 @@ Imagen = gr.Interface(
218
  #theme='Taithrah/Minimal'
219
  )
220
 
221
-
222
  Tabla1 = gr.Interface(
223
  fn= cargar_dataframe_1,
224
  inputs=gr.Dataframe(
@@ -231,6 +231,12 @@ Tabla1 = gr.Interface(
231
  #gr.Textbox(label="Total kcal")],
232
  description="Desglose de los alimentos y sus calorías, así como recuento total.",
233
  )
 
 
 
 
 
 
234
 
235
  Tabla2 = gr.Interface(
236
  fn=cargar_dataframe_3,
 
218
  #theme='Taithrah/Minimal'
219
  )
220
 
221
+ '''
222
  Tabla1 = gr.Interface(
223
  fn= cargar_dataframe_1,
224
  inputs=gr.Dataframe(
 
231
  #gr.Textbox(label="Total kcal")],
232
  description="Desglose de los alimentos y sus calorías, así como recuento total.",
233
  )
234
+ '''
235
+ with gr.Blocks() as Tabla1:
236
+ inp = gr.Textbox(placeholder="What is your name?")
237
+ out = "dataframe"
238
+ inp.change(cargar_dataframe_1, inp, out)
239
+
240
 
241
  Tabla2 = gr.Interface(
242
  fn=cargar_dataframe_3,