Commit
·
4e3c349
1
Parent(s):
d85086a
changing gemini model, as current has been retired
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def product_identification_response(image_path=r"C:\Users\JoeJo\Downloads\XyAaqB
|
|
| 62 |
genai.configure(api_key=os.environ.get("GENAI_API_KEY"))
|
| 63 |
|
| 64 |
# Load Gemini Pro Vision
|
| 65 |
-
model = genai.GenerativeModel('gemini-
|
| 66 |
|
| 67 |
image = load_image(image_path)
|
| 68 |
|
|
|
|
| 62 |
genai.configure(api_key=os.environ.get("GENAI_API_KEY"))
|
| 63 |
|
| 64 |
# Load Gemini Pro Vision
|
| 65 |
+
model = genai.GenerativeModel('gemini-2.5-flash')
|
| 66 |
|
| 67 |
image = load_image(image_path)
|
| 68 |
|