SergeyO7 commited on
Commit
89858c7
·
verified ·
1 Parent(s): c309ccd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
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("# Basic Agent Evaluation Runner")
135
  gr.Markdown(
136
  """
137
  **Instructions:**
138
- 1. Please clone this space, then modify the code to define your agent's logic, the tools, the necessary packages, etc ...
139
- 2. Log in to your Hugging Face account using the button below. This uses your HF username for submission.
140
- 3. Click 'Run Evaluation & Submit All Answers' to fetch questions, run your agent, submit answers, and see the score.
141
  ---
142
- **Disclaimers:**
143
- Once clicking on the "submit button, it can take quite some time ( this is the time for the agent to go through all the questions).
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