Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,7 +75,7 @@ class NotebookLMTool:
|
|
| 75 |
|
| 76 |
try:
|
| 77 |
resp_img = self.client.models.generate_content(
|
| 78 |
-
model="gemini-2.
|
| 79 |
contents=[
|
| 80 |
"Remove all text from this image. Fill the gaps using the surrounding background texture to make it look clean and natural. Output ONLY the image.",
|
| 81 |
img
|
|
|
|
| 75 |
|
| 76 |
try:
|
| 77 |
resp_img = self.client.models.generate_content(
|
| 78 |
+
model="gemini-2.5-flash-image", # ✅ 修正:使用支援圖片輸出的實驗模型
|
| 79 |
contents=[
|
| 80 |
"Remove all text from this image. Fill the gaps using the surrounding background texture to make it look clean and natural. Output ONLY the image.",
|
| 81 |
img
|