multimodalart HF staff commited on
Commit
3c5ea83
·
verified ·
1 Parent(s): 7329846

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,5 +22,5 @@ def update_dropdown(query):
22
  with gr.Blocks() as demo:
23
  with gr.Row():
24
  dataset_dropdown = gr.Dropdown(label="Datasets", choices=[""], elem_id="dataset_list", interactive=True, filterable=True, allow_custom_value=True)
25
- dataset_dropdown.change(update_dropdown, inputs=dataset_dropdown, outputs=dataset_dropdown, queue=False, show_progress="hidden")
26
  demo.launch()
 
22
  with gr.Blocks() as demo:
23
  with gr.Row():
24
  dataset_dropdown = gr.Dropdown(label="Datasets", choices=[""], elem_id="dataset_list", interactive=True, filterable=True, allow_custom_value=True)
25
+ dataset_dropdown.key_up(update_dropdown, inputs=dataset_dropdown, outputs=dataset_dropdown, queue=False, show_progress="hidden")
26
  demo.launch()