Update app.py
Browse files
app.py
CHANGED
@@ -151,6 +151,7 @@ with iface:
|
|
151 |
|
152 |
with gr.Row():
|
153 |
gr.Markdown("## Selecciona una Normativa:")
|
|
|
154 |
normativa_dropdown = gr.Dropdown(choices=norm_options, label="Normativas")
|
155 |
normativa_html = gr.HTML()
|
156 |
normativa_dropdown.change(fn=mostrar_detalles, inputs=normativa_dropdown, outputs=[normativa_html, norma_field])
|
|
|
151 |
|
152 |
with gr.Row():
|
153 |
gr.Markdown("## Selecciona una Normativa:")
|
154 |
+
norma_field = gr.Textbox(label="Norma", interactive=False) # Read-only
|
155 |
normativa_dropdown = gr.Dropdown(choices=norm_options, label="Normativas")
|
156 |
normativa_html = gr.HTML()
|
157 |
normativa_dropdown.change(fn=mostrar_detalles, inputs=normativa_dropdown, outputs=[normativa_html, norma_field])
|