Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -131,17 +131,15 @@ async def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
131 |
|
132 |
# --- Build Gradio Interface using Blocks ---
|
133 |
with gr.Blocks() as demo:
|
134 |
-
gr.Markdown("#
|
135 |
gr.Markdown(
|
136 |
"""
|
137 |
**Instructions:**
|
138 |
-
1.
|
139 |
-
2.
|
140 |
-
3. Click 'Run Evaluation & Submit All Answers' to fetch questions, run your agent, submit answers, and see the score.
|
141 |
---
|
142 |
-
**
|
143 |
-
|
144 |
-
This space provides a basic setup and is intentionally sub-optimal to encourage you to develop your own, more robust solution. For instance for the delay process of the submit button, a solution could be to cache the answers and submit in a seperate action or even to answer the questions in async.
|
145 |
"""
|
146 |
)
|
147 |
|
|
|
131 |
|
132 |
# --- Build Gradio Interface using Blocks ---
|
133 |
with gr.Blocks() as demo:
|
134 |
+
gr.Markdown("# Magus Agent Evaluation Runner")
|
135 |
gr.Markdown(
|
136 |
"""
|
137 |
**Instructions:**
|
138 |
+
1. Log in to your Hugging Face account using the button below.
|
139 |
+
2. Click 'Run Evaluation & Submit All Answers' to fetch questions, run your agent, and submit answers.
|
|
|
140 |
---
|
141 |
+
**Notes:**
|
142 |
+
The agent uses asynchronous operations for efficiency. Answers are processed and submitted asynchronously.
|
|
|
143 |
"""
|
144 |
)
|
145 |
|