abubasith86 commited on
Commit
036acf9
·
verified ·
1 Parent(s): f397453

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -180,7 +180,9 @@ def respond(
180
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
181
  """
182
  demo = gr.ChatInterface(
183
- respond
 
 
184
  # additional_inputs=[
185
  # gr.Textbox(value="You are a friendly Chatbot.", label="System message")
186
  # gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
 
180
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
181
  """
182
  demo = gr.ChatInterface(
183
+ respond,
184
+ type="messages",
185
+ description="A responsive chatbot interface with streaming responses."
186
  # additional_inputs=[
187
  # gr.Textbox(value="You are a friendly Chatbot.", label="System message")
188
  # gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),