Spaces:
Running
Running
Gaurav vashistha commited on
Commit ·
97a38b9
1
Parent(s): e864198
Critical Fix: Actually update Visual Analyst to gemini-2.5-flash
Browse files- agents/visual_analyst.py +1 -1
agents/visual_analyst.py
CHANGED
|
@@ -13,7 +13,7 @@ class VisualAnalyst:
|
|
| 13 |
raise ValueError("GEMINI_API_KEY not found")
|
| 14 |
|
| 15 |
self.client = genai.Client(api_key=self.api_key, http_options={'timeout': 180.0})
|
| 16 |
-
self.model_name = "gemini-
|
| 17 |
print(f"✅ VisualAnalyst stored Gemini model: {self.model_name}")
|
| 18 |
|
| 19 |
async def analyze_image(self, image_path: str):
|
|
|
|
| 13 |
raise ValueError("GEMINI_API_KEY not found")
|
| 14 |
|
| 15 |
self.client = genai.Client(api_key=self.api_key, http_options={'timeout': 180.0})
|
| 16 |
+
self.model_name = "gemini-2.5-flash"
|
| 17 |
print(f"✅ VisualAnalyst stored Gemini model: {self.model_name}")
|
| 18 |
|
| 19 |
async def analyze_image(self, image_path: str):
|