jcmachicao commited on
Commit
f18e333
verified
1 Parent(s): a4e40d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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])