Spaces:
Running
Running
fix
Browse files
app.py
CHANGED
@@ -135,47 +135,47 @@ with demo:
|
|
135 |
)
|
136 |
|
137 |
|
138 |
-
setting_dropdown.change(
|
139 |
-
update_dropdowns,
|
140 |
-
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
141 |
-
outputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown]
|
142 |
-
)
|
143 |
-
|
144 |
-
dataset_dropdown.change(
|
145 |
-
update_dropdowns,
|
146 |
-
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
147 |
-
outputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown]
|
148 |
-
)
|
149 |
-
|
150 |
-
model_dropdown.change(
|
151 |
-
update_dropdowns,
|
152 |
-
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
153 |
-
outputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown]
|
154 |
-
)
|
155 |
-
|
156 |
# setting_dropdown.change(
|
157 |
-
#
|
158 |
# inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
159 |
-
# outputs=
|
160 |
# )
|
161 |
|
162 |
# dataset_dropdown.change(
|
163 |
-
#
|
164 |
# inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
165 |
-
# outputs=
|
166 |
# )
|
167 |
-
|
168 |
# model_dropdown.change(
|
169 |
-
#
|
170 |
# inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
171 |
-
# outputs=
|
172 |
# )
|
173 |
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
|
180 |
with gr.Accordion("Submit a new model for evaluation"):
|
181 |
with gr.Row():
|
|
|
135 |
)
|
136 |
|
137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
# setting_dropdown.change(
|
139 |
+
# update_dropdowns,
|
140 |
# inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
141 |
+
# outputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown]
|
142 |
# )
|
143 |
|
144 |
# dataset_dropdown.change(
|
145 |
+
# update_dropdowns,
|
146 |
# inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
147 |
+
# outputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown]
|
148 |
# )
|
149 |
+
|
150 |
# model_dropdown.change(
|
151 |
+
# update_dropdowns,
|
152 |
# inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
153 |
+
# outputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown]
|
154 |
# )
|
155 |
|
156 |
+
setting_dropdown.change(
|
157 |
+
change_version,
|
158 |
+
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
159 |
+
outputs=leaderboard_table
|
160 |
+
)
|
161 |
+
|
162 |
+
dataset_dropdown.change(
|
163 |
+
change_version,
|
164 |
+
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
165 |
+
outputs=leaderboard_table
|
166 |
+
)
|
167 |
+
|
168 |
+
model_dropdown.change(
|
169 |
+
change_version,
|
170 |
+
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
171 |
+
outputs=leaderboard_table
|
172 |
+
)
|
173 |
+
|
174 |
+
criteria_dropdown.change(
|
175 |
+
change_version,
|
176 |
+
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
177 |
+
outputs=leaderboard_table
|
178 |
+
)
|
179 |
|
180 |
with gr.Accordion("Submit a new model for evaluation"):
|
181 |
with gr.Row():
|