jonathan9879 commited on
Commit
0d89b31
·
verified ·
1 Parent(s): 578f455

correct model id

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ class NativeGeminiAgent:
29
  )
30
 
31
  # Configure the model with the native tool
32
- self.model_name = 'gemini-1.5-pro-latest' # Using the best stable model
33
  self.model = genai.GenerativeModel(
34
  model_name=self.model_name,
35
  tools=[google_search_retrieval],
@@ -141,7 +141,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
141
  # --- Gradio Interface ---
142
  with gr.Blocks() as demo:
143
  gr.Markdown("# Native Multi-Modal GAIA Agent")
144
- gr.Markdown("This agent uses Gemini 1.5 Pro with native Google Search grounding and direct multi-modal understanding (video, images, files).")
145
  gr.LoginButton()
146
  run_button = gr.Button("Run Evaluation & Submit All Answers")
147
  status_output = gr.Textbox(label="Run Status / Submission Result", lines=5, interactive=False)
 
29
  )
30
 
31
  # Configure the model with the native tool
32
+ self.model_name = 'gemini-2.5-pro-preview-06-05' # Using the best stable model
33
  self.model = genai.GenerativeModel(
34
  model_name=self.model_name,
35
  tools=[google_search_retrieval],
 
141
  # --- Gradio Interface ---
142
  with gr.Blocks() as demo:
143
  gr.Markdown("# Native Multi-Modal GAIA Agent")
144
+ gr.Markdown("This agent uses Gemini 2.5 Pro with native Google Search grounding and direct multi-modal understanding (video, images, files).")
145
  gr.LoginButton()
146
  run_button = gr.Button("Run Evaluation & Submit All Answers")
147
  status_output = gr.Textbox(label="Run Status / Submission Result", lines=5, interactive=False)