sam522 commited on
Commit
2d8ea45
·
1 Parent(s): 7f35276
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -48,6 +48,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
48
  """
49
  demo = gr.ChatInterface(
50
  respond,
 
51
  additional_inputs=[
52
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
53
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
 
48
  """
49
  demo = gr.ChatInterface(
50
  respond,
51
+ type='messages',
52
  additional_inputs=[
53
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
54
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),