Spaces:
Sleeping
Sleeping
File size: 416 Bytes
4f3ed20 514c012 4f3ed20 d74dce3 4f3ed20 924b7fa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import gradio as gr
from agent import GaiaAgent
from run import run_and_submit_all # Adjusted if you moved out of `gaia_benchmark`
agent = GaiaAgent()
with gr.Blocks() as demo:
gr.Markdown("# GAIA Agent Evaluation")
btn = gr.Button("Run Evaluation & Submit All Answers")
result = gr.Textbox(label="Submission Result")
btn.click(fn=lambda: run_and_submit_all(agent), outputs=result)
demo.launch() |