multimodalart HF Staff commited on
Commit
d537c2f
·
verified ·
1 Parent(s): 4d93d41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def search_huggingface_datasets(query):
16
  def update_dropdown(query, key_up_data: gr.KeyUpData):
17
  datasets = search_huggingface_datasets(key_up_data.input_value)
18
  print(key_up_data.input_value)
19
- return gr.update(choices=datasets, value=key_up_data.input_value, visible=True)
20
 
21
  with gr.Blocks() as demo:
22
  with gr.Row():
 
16
  def update_dropdown(query, key_up_data: gr.KeyUpData):
17
  datasets = search_huggingface_datasets(key_up_data.input_value)
18
  print(key_up_data.input_value)
19
+ return gr.update(choices=datasets, visible=True)
20
 
21
  with gr.Blocks() as demo:
22
  with gr.Row():