Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -627,7 +627,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
627 |
return filename
|
628 |
return None
|
629 |
|
630 |
-
# Update dropdown when refreshing results
|
631 |
def update_result_dropdown():
|
632 |
return gr.Dropdown.update(choices=[f for f in os.listdir(".") if f.endswith("_human_results.json")])
|
633 |
|
|
|
627 |
return filename
|
628 |
return None
|
629 |
|
630 |
+
# Update the dropdown when refreshing results
|
631 |
def update_result_dropdown():
|
632 |
return gr.Dropdown.update(choices=[f for f in os.listdir(".") if f.endswith("_human_results.json")])
|
633 |
|