Spaces:
Paused
Paused
dropdown values
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: π
|
|
4 |
colorFrom: blue
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.18
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
|
|
4 |
colorFrom: blue
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.18.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
app.py
CHANGED
@@ -319,7 +319,7 @@ if __name__ == "__main__":
|
|
319 |
available_datasets = gr.Dropdown(
|
320 |
type="value",
|
321 |
choices=[],
|
322 |
-
value=
|
323 |
label="Datasets",
|
324 |
multiselect=True,
|
325 |
)
|
@@ -346,7 +346,7 @@ if __name__ == "__main__":
|
|
346 |
results: results_html,
|
347 |
flagging_form: gr.update(visible=True),
|
348 |
datasets_filter: gr.update(visible=True),
|
349 |
-
available_datasets: gr.Dropdown.update(choices=datasets),
|
350 |
}
|
351 |
|
352 |
def filter_datasets():
|
|
|
319 |
available_datasets = gr.Dropdown(
|
320 |
type="value",
|
321 |
choices=[],
|
322 |
+
value=[],
|
323 |
label="Datasets",
|
324 |
multiselect=True,
|
325 |
)
|
|
|
346 |
results: results_html,
|
347 |
flagging_form: gr.update(visible=True),
|
348 |
datasets_filter: gr.update(visible=True),
|
349 |
+
available_datasets: gr.Dropdown.update(choices=datasets, value=datasets),
|
350 |
}
|
351 |
|
352 |
def filter_datasets():
|