Update app.py
Browse files
app.py
CHANGED
@@ -331,7 +331,7 @@ def process_image_background(task_id, image_data):
|
|
331 |
# Using "gemini-1.5-pro-latest" as a robust alternative. User can change if needed.
|
332 |
# The user's original Gemini call structure:
|
333 |
gemini_response = client.models.generate_content(
|
334 |
-
model="gemini-
|
335 |
contents=[
|
336 |
{'inline_data': {'mime_type': 'image/png', 'data': img_base64_str}},
|
337 |
ppmqth
|
|
|
331 |
# Using "gemini-1.5-pro-latest" as a robust alternative. User can change if needed.
|
332 |
# The user's original Gemini call structure:
|
333 |
gemini_response = client.models.generate_content(
|
334 |
+
model="gemini-2.5-pro-exp-03-25",
|
335 |
contents=[
|
336 |
{'inline_data': {'mime_type': 'image/png', 'data': img_base64_str}},
|
337 |
ppmqth
|