Spaces:
Sleeping
Sleeping
sudais14446 commited on
Commit ·
6f825ac
1
Parent(s): 73591ba
add health code
Browse files- analyzer.py +2 -2
analyzer.py
CHANGED
|
@@ -82,8 +82,8 @@ class StyleAnalyzer:
|
|
| 82 |
# Configure Gemini client
|
| 83 |
self.client = genai.Client(api_key=self.api_key)
|
| 84 |
|
| 85 |
-
# Use Gemini
|
| 86 |
-
self.model_name = "gemini
|
| 87 |
|
| 88 |
def _load_image(self, image: Union[str, Path, Image.Image, bytes]) -> Image.Image:
|
| 89 |
"""
|
|
|
|
| 82 |
# Configure Gemini client
|
| 83 |
self.client = genai.Client(api_key=self.api_key)
|
| 84 |
|
| 85 |
+
# Use Gemini 2.5 Flash for analysis (fast and efficient)
|
| 86 |
+
self.model_name = "gemini-2.5-flash"
|
| 87 |
|
| 88 |
def _load_image(self, image: Union[str, Path, Image.Image, bytes]) -> Image.Image:
|
| 89 |
"""
|