Update app.py
Browse files
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.
|
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()
|