Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -2554,6 +2554,8 @@ def crear_app():
|
|
| 2554 |
output_indicadores_mass_mix = gr.Dataframe(label="Resultados del análisis masivo INDICADORES")
|
| 2555 |
|
| 2556 |
with gr.Row():
|
|
|
|
|
|
|
| 2557 |
|
| 2558 |
categorias_mass_state = gr.State(value=[]) # Estado para almacenar categorías disponibles
|
| 2559 |
categorias_mass = gr.Dropdown(
|
|
@@ -2588,8 +2590,7 @@ def crear_app():
|
|
| 2588 |
with gr.Column(scale=1, visible=False):
|
| 2589 |
# u.upload(fn=upload_file, inputs=[u], outputs=[file_output])
|
| 2590 |
# categorias = gr.State(value=[])
|
| 2591 |
-
|
| 2592 |
-
return gr.update(choices=listado)
|
| 2593 |
|
| 2594 |
|
| 2595 |
|
|
|
|
| 2554 |
output_indicadores_mass_mix = gr.Dataframe(label="Resultados del análisis masivo INDICADORES")
|
| 2555 |
|
| 2556 |
with gr.Row():
|
| 2557 |
+
def update_choices(listado):
|
| 2558 |
+
return gr.update(choices=listado)
|
| 2559 |
|
| 2560 |
categorias_mass_state = gr.State(value=[]) # Estado para almacenar categorías disponibles
|
| 2561 |
categorias_mass = gr.Dropdown(
|
|
|
|
| 2590 |
with gr.Column(scale=1, visible=False):
|
| 2591 |
# u.upload(fn=upload_file, inputs=[u], outputs=[file_output])
|
| 2592 |
# categorias = gr.State(value=[])
|
| 2593 |
+
|
|
|
|
| 2594 |
|
| 2595 |
|
| 2596 |
|