adilos1 commited on
Commit
8220b57
·
verified ·
1 Parent(s): 5e565cc

Debugging app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
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("# Basic Agent Evaluation Runner")
131
  gr.Markdown("""
132
  **Instructions:**
133
- 1. Clone this space and configure your Gemini API key.
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
  """)