multimodalart HF staff commited on
Commit
e919e63
·
verified ·
1 Parent(s): f732e32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,14 +26,14 @@ def update_dropdown_value(query, key_up_data: gr.KeyUpData):
26
  with gr.Blocks() as demo:
27
  with gr.Row():
28
  with gr.Column():
29
- dataset_dropdown = gr.Dropdown(label="Datasets", info="Don't update value", choices=[""], elem_id="dataset_list", interactive=True, filterable=True, allow_custom_value=True)
30
  gr.Markdown('''Here the return is:
31
  ```
32
  gr.update(choices=datasets, visible=True)
33
  ```
34
  ''')
35
  with gr.Column():
36
- dataset_dropdown_update = gr.Dropdown(label="Datasets", info="Update value", choices=[""], elem_id="dataset_list", interactive=True, filterable=True, allow_custom_value=True)
37
  gr.Markdown('''Here the return is:
38
  ```
39
  gr.update(choices=datasets, value=key_up_data.input_value, visible=True)
 
26
  with gr.Blocks() as demo:
27
  with gr.Row():
28
  with gr.Column():
29
+ dataset_dropdown = gr.Dropdown(label="Datasets Auto-Complete", choices=[""], elem_id="dataset_list", interactive=True, filterable=True, allow_custom_value=True)
30
  gr.Markdown('''Here the return is:
31
  ```
32
  gr.update(choices=datasets, visible=True)
33
  ```
34
  ''')
35
  with gr.Column():
36
+ dataset_dropdown_update = gr.Dropdown(label="Datasets Auto-Complete", choices=[""], elem_id="dataset_list", interactive=True, filterable=True, allow_custom_value=True)
37
  gr.Markdown('''Here the return is:
38
  ```
39
  gr.update(choices=datasets, value=key_up_data.input_value, visible=True)