ancerlop commited on
Commit
6594108
·
1 Parent(s): 7af92a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -45,7 +45,8 @@ interfaz = gr.Interface(
45
  outputs=[
46
  gr.Textbox(label="Texto de Salida", type="text"),
47
  *checkboxes_tipos.values(),
48
- gr.Button(value="Guardar en JSON", callback=guardar_checkbox_info)
 
49
  ]
50
  )
51
 
 
45
  outputs=[
46
  gr.Textbox(label="Texto de Salida", type="text"),
47
  *checkboxes_tipos.values(),
48
+ btn = gr.Button(value="Guardar en JSON")
49
+ btn.click(guardar_checkbox_info)
50
  ]
51
  )
52