Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -261,7 +261,7 @@ with gr.Blocks(css=".gradio-container { max-width: 95% !important; }") as demo:
|
|
| 261 |
gr.LoginButton()
|
| 262 |
run_button = gr.Button("Run Evaluation & Submit" if ENABLE_SUBMISSION else "Run Evaluation (Submission Disabled)", variant="primary")
|
| 263 |
status_output = gr.Markdown(label="Run Status / Submission Result", value="Status will appear here...")
|
| 264 |
-
results_table = gr.DataFrame(label="Questions & Answers", headers=["Task ID", "Question", "Submitted Answer", "Correct", "Ground Truth"], datatype=["str", "str", "str", "str", "str"], wrap=True, interactive=False
|
| 265 |
run_button.click(fn=run_evaluation, outputs=[status_output, results_table], api_name="run_evaluation")
|
| 266 |
|
| 267 |
# --- App Launch ---
|
|
|
|
| 261 |
gr.LoginButton()
|
| 262 |
run_button = gr.Button("Run Evaluation & Submit" if ENABLE_SUBMISSION else "Run Evaluation (Submission Disabled)", variant="primary")
|
| 263 |
status_output = gr.Markdown(label="Run Status / Submission Result", value="Status will appear here...")
|
| 264 |
+
results_table = gr.DataFrame(label="Questions & Answers", headers=["Task ID", "Question", "Submitted Answer", "Correct", "Ground Truth"], datatype=["str", "str", "str", "str", "str"], wrap=True, interactive=False)
|
| 265 |
run_button.click(fn=run_evaluation, outputs=[status_output, results_table], api_name="run_evaluation")
|
| 266 |
|
| 267 |
# --- App Launch ---
|