GregPLigon commited on
Commit
fa82336
·
verified ·
1 Parent(s): fede105

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -21,12 +21,12 @@ class GAIAAgent:
21
  def __init__(self):
22
  api_key = os.environ.get("GEMINI_API_KEY")
23
  if not api_key:
24
- raise ValueError("DEEPSEEK_API_KEY not set in Space secrets")
25
 
26
  model = LiteLLMModel(
27
- model_id="gemini/gemini-2.0-flash",
28
- api_key=GEMINI_API_KEY,
29
- )
30
 
31
  self.agent = CodeAgent(
32
  model=model,
@@ -230,7 +230,7 @@ with gr.Blocks() as demo:
230
  """
231
  **Instructions:**
232
 
233
- 1. Make sure your `DEEPSEEK_API_KEY` is set in **Settings → Variables and secrets**.
234
  2. Log in to your Hugging Face account using the button below.
235
  3. Click **Run Evaluation & Submit All Answers** to fetch all 20 questions, run the
236
  agent on each one, submit your answers, and see your score.
 
21
  def __init__(self):
22
  api_key = os.environ.get("GEMINI_API_KEY")
23
  if not api_key:
24
+ raise ValueError("GEMINI_API_KEY not set in Space secrets")
25
 
26
  model = LiteLLMModel(
27
+ model_id="gemini/gemini-2.0-flash",
28
+ api_key=api_key,
29
+ )
30
 
31
  self.agent = CodeAgent(
32
  model=model,
 
230
  """
231
  **Instructions:**
232
 
233
+ 1. Make sure your `GEMINI_API_KEY` is set in **Settings → Variables and secrets**.
234
  2. Log in to your Hugging Face account using the button below.
235
  3. Click **Run Evaluation & Submit All Answers** to fetch all 20 questions, run the
236
  agent on each one, submit your answers, and see your score.