Spaces:
Sleeping
Sleeping
Update models.py
Browse files
models.py
CHANGED
|
@@ -71,7 +71,7 @@ def get_generation_prompt(
|
|
| 71 |
# Contents should be images first, then the text prompt
|
| 72 |
contents = images + [analysis_prompt]
|
| 73 |
response = GEMINI_CLIENT.models.generate_content(
|
| 74 |
-
model='gemini-2.
|
| 75 |
contents=contents
|
| 76 |
)
|
| 77 |
expanded_prompt = response.text.strip()
|
|
|
|
| 71 |
# Contents should be images first, then the text prompt
|
| 72 |
contents = images + [analysis_prompt]
|
| 73 |
response = GEMINI_CLIENT.models.generate_content(
|
| 74 |
+
model='gemini-2.5-flash',
|
| 75 |
contents=contents
|
| 76 |
)
|
| 77 |
expanded_prompt = response.text.strip()
|