Spaces:
Running
Running
Commit
·
671d33c
1
Parent(s):
cc965d9
changing gemini model used, as existing one has now been sunsetted
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def product_identification_response(image_path=r"C:\Users\JoeJo\Downloads\XyAaqB
|
|
| 32 |
genai.configure(api_key=os.environ.get("GENAI_API_KEY"))
|
| 33 |
|
| 34 |
# Load Gemini Pro Vision
|
| 35 |
-
model = genai.GenerativeModel('gemini-
|
| 36 |
|
| 37 |
# Load your image
|
| 38 |
clean_path = image_path.strip('"')
|
|
|
|
| 32 |
genai.configure(api_key=os.environ.get("GENAI_API_KEY"))
|
| 33 |
|
| 34 |
# Load Gemini Pro Vision
|
| 35 |
+
model = genai.GenerativeModel('gemini-2.5-flash')
|
| 36 |
|
| 37 |
# Load your image
|
| 38 |
clean_path = image_path.strip('"')
|