correct model id
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ class NativeGeminiAgent:
|
|
| 29 |
)
|
| 30 |
|
| 31 |
# Configure the model with the native tool
|
| 32 |
-
self.model_name = 'gemini-
|
| 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
|
| 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)
|