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