Update chatbot/plugins/chat.py
Browse files- chatbot/plugins/chat.py +1 -1
chatbot/plugins/chat.py
CHANGED
@@ -497,7 +497,7 @@ async def chatbot_talk(client: Client, message: Message):
|
|
497 |
response = await gen.aio.models.generate_content(
|
498 |
model="gemini-2.0-flash-exp-image-generation",
|
499 |
contents=[str(caption), images],
|
500 |
-
config=
|
501 |
response_modalities=['TEXT', 'IMAGE']
|
502 |
)
|
503 |
)
|
|
|
497 |
response = await gen.aio.models.generate_content(
|
498 |
model="gemini-2.0-flash-exp-image-generation",
|
499 |
contents=[str(caption), images],
|
500 |
+
config=ty.GenerateContentConfig(
|
501 |
response_modalities=['TEXT', 'IMAGE']
|
502 |
)
|
503 |
)
|