Update app.py
Browse files
app.py
CHANGED
|
@@ -362,7 +362,7 @@ def analyze_with_gemini(image_pil, issue, location, city, yolo_summary):
|
|
| 362 |
try:
|
| 363 |
import google.generativeai as genai
|
| 364 |
genai.configure(api_key=GOOGLE_API_KEY)
|
| 365 |
-
model = genai.GenerativeModel("gemini-
|
| 366 |
buf = io.BytesIO()
|
| 367 |
image_pil.save(buf, format="JPEG")
|
| 368 |
prompt = (f"You are a STRICT Pakistani Civic Issue Inspector.\n"
|
|
|
|
| 362 |
try:
|
| 363 |
import google.generativeai as genai
|
| 364 |
genai.configure(api_key=GOOGLE_API_KEY)
|
| 365 |
+
model = genai.GenerativeModel("gemini-3-flash-preview")
|
| 366 |
buf = io.BytesIO()
|
| 367 |
image_pil.save(buf, format="JPEG")
|
| 368 |
prompt = (f"You are a STRICT Pakistani Civic Issue Inspector.\n"
|