sarahrobe commited on
Commit
90b6338
·
verified ·
1 Parent(s): 89e6043

updated type to messages to remove warning

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,6 +3,6 @@ import gradio as gr
3
  def echo(message, history):
4
  return message
5
 
6
- chatbot = gr.ChatInterface(echo)
7
 
8
  chatbot.launch()
 
3
  def echo(message, history):
4
  return message
5
 
6
+ chatbot = gr.ChatInterface(echo, type = "messages")
7
 
8
  chatbot.launch()