Cloudme50's picture
update
2ffe958 verified
Raw History Blame Contribute Delete
510 Bytes
import gradio as gr
from agent_core import alfred
from gaia_agent import answer_questions
def run_gaia_agent():
import json
answers = answer_questions()
return json.dumps({"answers": answers}, indent=2)
gr.Interface(
fn=run_gaia_agent,
inputs=[],
outputs=gr.Textbox(label="GAIA Answers in Submission Format", lines=30),
title="GAIA Agent Answer Generator",
description="Click to run the GAIA agent across all Level 1 questions. Output is formatted for submission."
).launch()