peterpeter8585 commited on
Commit
043e03d
1 Parent(s): 0da0149

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -272,9 +272,8 @@ People="user.png"
272
  """
273
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
274
  """
275
- aa = gr.Chatbot(
276
  respond,
277
- avatar_images=[People, BOT_AVATAR],
278
  additional_inputs=[
279
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
280
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
@@ -287,6 +286,7 @@ aa = gr.Chatbot(
287
  label="Top-p (nucleus sampling)",
288
  ),
289
  ],
 
290
  )
291
 
292
 
 
272
  """
273
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
274
  """
275
+ aa = gr.ChatInterface(
276
  respond,
 
277
  additional_inputs=[
278
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
279
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
 
286
  label="Top-p (nucleus sampling)",
287
  ),
288
  ],
289
+ multimodal=True
290
  )
291
 
292