Spaces:
Running
Running
Try gemini-2.5-flash-preview-05-20
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ def generate_content_str(api_key, prompt, pil_image, tries=PROMPT_RETRYIES):
|
|
83 |
while True:
|
84 |
try:
|
85 |
response = client.models.generate_content(
|
86 |
-
model="gemini-2.5-
|
87 |
contents=[prompt, pil_image],
|
88 |
config=generate_content_config,
|
89 |
)
|
|
|
83 |
while True:
|
84 |
try:
|
85 |
response = client.models.generate_content(
|
86 |
+
model="gemini-2.5-flash-preview-05-20",
|
87 |
contents=[prompt, pil_image],
|
88 |
config=generate_content_config,
|
89 |
)
|