randydev commited on
Commit
8e4f8ff
·
verified ·
1 Parent(s): f27110e

Update chatbot/plugins/chat.py

Browse files
Files changed (1) hide show
  1. 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=types.GenerateContentConfig(
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
  )