Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -290,26 +290,6 @@ def clear_cache():
|
|
290 |
# --- Enhanced Gradio Interface ---
|
291 |
with gr.Blocks(title="Enhanced Agent Evaluation Runner") as demo:
|
292 |
gr.Markdown("# Enhanced Agent Evaluation Runner with Answer Caching")
|
293 |
-
gr.Markdown(
|
294 |
-
"""
|
295 |
-
**Enhanced Instructions:**
|
296 |
-
|
297 |
-
1. **Clone and Modify**: Clone this space and modify the agent logic as needed.
|
298 |
-
2. **Login**: Log in to your Hugging Face account.
|
299 |
-
3. **Fetch Questions**: Load all questions from the evaluation API.
|
300 |
-
4. **Generate Answers**: Create answers for all questions (runs in background).
|
301 |
-
5. **Review Results**: Check the generated answers before submission.
|
302 |
-
6. **Submit**: Submit your answers when ready.
|
303 |
-
|
304 |
-
**Benefits of this approach:**
|
305 |
-
- ✅ Faster user feedback (separate steps)
|
306 |
-
- ✅ Ability to review answers before submission
|
307 |
-
- ✅ Progress tracking during answer generation
|
308 |
-
- ✅ Cache management for multiple runs
|
309 |
-
|
310 |
-
---
|
311 |
-
"""
|
312 |
-
)
|
313 |
|
314 |
with gr.Row():
|
315 |
gr.LoginButton()
|
|
|
290 |
# --- Enhanced Gradio Interface ---
|
291 |
with gr.Blocks(title="Enhanced Agent Evaluation Runner") as demo:
|
292 |
gr.Markdown("# Enhanced Agent Evaluation Runner with Answer Caching")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
|
294 |
with gr.Row():
|
295 |
gr.LoginButton()
|