Spaces:
Running
Running
Gaurav vashistha commited on
Commit ·
d045e42
1
Parent(s): 97a38b9
Bugfix: Remove custom timeout causing 1s deadline bug in GenAI SDK
Browse files- agents/visual_analyst.py +1 -1
agents/visual_analyst.py
CHANGED
|
@@ -12,7 +12,7 @@ class VisualAnalyst:
|
|
| 12 |
if not self.api_key:
|
| 13 |
raise ValueError("GEMINI_API_KEY not found")
|
| 14 |
|
| 15 |
-
self.client = genai.Client(api_key=self.api_key
|
| 16 |
self.model_name = "gemini-2.5-flash"
|
| 17 |
print(f"✅ VisualAnalyst stored Gemini model: {self.model_name}")
|
| 18 |
|
|
|
|
| 12 |
if not self.api_key:
|
| 13 |
raise ValueError("GEMINI_API_KEY not found")
|
| 14 |
|
| 15 |
+
self.client = genai.Client(api_key=self.api_key)
|
| 16 |
self.model_name = "gemini-2.5-flash"
|
| 17 |
print(f"✅ VisualAnalyst stored Gemini model: {self.model_name}")
|
| 18 |
|