Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,7 @@ class NotebookLMTool:
|
|
| 103 |
"""
|
| 104 |
|
| 105 |
resp_img = self.client.models.generate_content(
|
| 106 |
-
model="gemini-2.
|
| 107 |
contents=[clean_prompt, img],
|
| 108 |
config=types.GenerateContentConfig(response_modalities=["IMAGE"])
|
| 109 |
)
|
|
@@ -152,7 +152,7 @@ class NotebookLMTool:
|
|
| 152 |
"""
|
| 153 |
|
| 154 |
resp_layout = self.client.models.generate_content(
|
| 155 |
-
model="gemini-2.
|
| 156 |
contents=[layout_prompt, img],
|
| 157 |
config=types.GenerateContentConfig(response_mime_type="application/json")
|
| 158 |
)
|
|
|
|
| 103 |
"""
|
| 104 |
|
| 105 |
resp_img = self.client.models.generate_content(
|
| 106 |
+
model="gemini-2.5-flash-image",
|
| 107 |
contents=[clean_prompt, img],
|
| 108 |
config=types.GenerateContentConfig(response_modalities=["IMAGE"])
|
| 109 |
)
|
|
|
|
| 152 |
"""
|
| 153 |
|
| 154 |
resp_layout = self.client.models.generate_content(
|
| 155 |
+
model="gemini-2.5-flash",
|
| 156 |
contents=[layout_prompt, img],
|
| 157 |
config=types.GenerateContentConfig(response_mime_type="application/json")
|
| 158 |
)
|