Spaces:
Sleeping
Sleeping
updated gemini model
Browse files
app.py
CHANGED
|
@@ -120,7 +120,7 @@ def product_identification_response(image_path=r"C:\Users\JoeJo\Downloads\XyAaqB
|
|
| 120 |
|
| 121 |
|
| 122 |
resp = clientGemini.models.generate_content(
|
| 123 |
-
model="gemini-
|
| 124 |
contents=[
|
| 125 |
types.Part.from_text(text="What product is in this image, and what is the condition of the product?"),
|
| 126 |
types.Part.from_bytes(data=image_bytes, mime_type=mime_type),
|
|
|
|
| 120 |
|
| 121 |
|
| 122 |
resp = clientGemini.models.generate_content(
|
| 123 |
+
model="gemini-3.5-flash-lite",
|
| 124 |
contents=[
|
| 125 |
types.Part.from_text(text="What product is in this image, and what is the condition of the product?"),
|
| 126 |
types.Part.from_bytes(data=image_bytes, mime_type=mime_type),
|