Noshal commited on
Commit
cd4f035
·
verified ·
1 Parent(s): 3326f91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-2.0-flash")
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"