Spaces:
Sleeping
Sleeping
Debugging app.py
Browse files
app.py
CHANGED
@@ -70,6 +70,10 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
70 |
questions_url = f"{DEFAULT_API_URL}/questions"
|
71 |
submit_url = f"{DEFAULT_API_URL}/submit"
|
72 |
|
|
|
|
|
|
|
|
|
73 |
try:
|
74 |
agent = MyAgent()
|
75 |
except Exception as e:
|
@@ -127,10 +131,10 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
127 |
|
128 |
# Gradio UI setup
|
129 |
with gr.Blocks() as demo:
|
130 |
-
gr.Markdown("#
|
131 |
gr.Markdown("""
|
132 |
**Instructions:**
|
133 |
-
1.
|
134 |
2. Log in to Hugging Face.
|
135 |
3. Run your agent on evaluation tasks and submit answers.
|
136 |
""")
|
|
|
70 |
questions_url = f"{DEFAULT_API_URL}/questions"
|
71 |
submit_url = f"{DEFAULT_API_URL}/submit"
|
72 |
|
73 |
+
print(questions_url, submit_url)
|
74 |
+
print(username, space_id, os.getenv("GEMINI_API_KEY"), keys)
|
75 |
+
return 'Logged'
|
76 |
+
|
77 |
try:
|
78 |
agent = MyAgent()
|
79 |
except Exception as e:
|
|
|
131 |
|
132 |
# Gradio UI setup
|
133 |
with gr.Blocks() as demo:
|
134 |
+
gr.Markdown("# Agent Evaluation GAIA")
|
135 |
gr.Markdown("""
|
136 |
**Instructions:**
|
137 |
+
1. Configure your Gemini API key.
|
138 |
2. Log in to Hugging Face.
|
139 |
3. Run your agent on evaluation tasks and submit answers.
|
140 |
""")
|