ancerlop commited on
Commit
526f014
1 Parent(s): 6eb73eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def cargar_datos_json(ruta_json):
9
 
10
  # Funci贸n para mostrar los checkboxes por tipo
11
  def mostrar_checkboxes(datos):
12
- tipos = set(d['tipo'] for d in datos)
13
  checkboxes = {tipo: gr.inputs.Checkbox(label=tipo) for tipo in tipos}
14
  return checkboxes
15
 
 
9
 
10
  # Funci贸n para mostrar los checkboxes por tipo
11
  def mostrar_checkboxes(datos):
12
+ tipos = set(d['clasificacion_tipo'] for d in datos)
13
  checkboxes = {tipo: gr.inputs.Checkbox(label=tipo) for tipo in tipos}
14
  return checkboxes
15