Spaces:
Sleeping
Sleeping
Update app.py
Browse files142 unmodified lines143144145146147148149150151152142 unmodified lines# --- Build Gradio Interface using Blocks ---with gr.Blocks() as demo:gr.Markdown("# Basic Agent Evaluation Runner")gr.Markdown("Please clone this space, then modify the code to define your agent's logic within the `BasicAgent` class. ""Log in to your Hugging Face account using the button below. This uses your HF username for submission. ""Click 'Run Evaluation & Submit All Answers' to fetch questions, run your agent, submit answers, and see the score.")gr.LoginButton()142 unmodified lines143144145146147148149150151152153154155156157158159160161142 unmodified lines# --- Build Gradio Interface using Blocks ---with gr.Blocks() as demo:gr.Markdown("# Basic Agent Evaluation Runner")gr.Markdown("""**Instructions:**1. Please clone this space, then modify the code to define your agent's logic within the `BasicAgent` class or outside if necessary.2. Log in to your Hugging Face account using the button below. This uses your HF username for submission.3. Click 'Run Evaluation & Submit All Answers' to fetch questions, run your agent, submit answers, and see the score.---**Disclaimers:**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).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.""")gr.LoginButton()
app.py+13-4