Spaces:
Runtime error
Runtime error
Remove system type.
Browse files
app.py
CHANGED
|
@@ -246,18 +246,19 @@ with blocks:
|
|
| 246 |
with gr.Column():
|
| 247 |
system_name_textbox = gr.Textbox(label=AutoEvalColumn.system.name)
|
| 248 |
org_textbox = gr.Textbox(label=AutoEvalColumn.organization.name)
|
| 249 |
-
sys_type_dropdown = gr.Dropdown(
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
)
|
| 256 |
|
| 257 |
submission_file = gr.File(label="JSONL solutions file", file_types=[".jsonl"])
|
| 258 |
|
| 259 |
logger.info("Submit button")
|
| 260 |
-
submit_button = gr.Button("Submit"
|
|
|
|
| 261 |
submission_result = gr.Markdown()
|
| 262 |
|
| 263 |
submit_button.click(
|
|
@@ -265,7 +266,6 @@ with blocks:
|
|
| 265 |
[
|
| 266 |
system_name_textbox,
|
| 267 |
org_textbox,
|
| 268 |
-
sys_type_dropdown,
|
| 269 |
submission_file,
|
| 270 |
],
|
| 271 |
submission_result,
|
|
|
|
| 246 |
with gr.Column():
|
| 247 |
system_name_textbox = gr.Textbox(label=AutoEvalColumn.system.name)
|
| 248 |
org_textbox = gr.Textbox(label=AutoEvalColumn.organization.name)
|
| 249 |
+
# sys_type_dropdown = gr.Dropdown(
|
| 250 |
+
# choices=[t.to_str() for t in ModelType],
|
| 251 |
+
# label=AutoEvalColumn.system_type.name,
|
| 252 |
+
# multiselect=False,
|
| 253 |
+
# value=ModelType.LLM.to_str(),
|
| 254 |
+
# interactive=True,
|
| 255 |
+
# )
|
| 256 |
|
| 257 |
submission_file = gr.File(label="JSONL solutions file", file_types=[".jsonl"])
|
| 258 |
|
| 259 |
logger.info("Submit button")
|
| 260 |
+
submit_button = gr.Button("Submit")
|
| 261 |
+
# gr.LoginButton()
|
| 262 |
submission_result = gr.Markdown()
|
| 263 |
|
| 264 |
submit_button.click(
|
|
|
|
| 266 |
[
|
| 267 |
system_name_textbox,
|
| 268 |
org_textbox,
|
|
|
|
| 269 |
submission_file,
|
| 270 |
],
|
| 271 |
submission_result,
|