indiapuig commited on
Commit
d5a7d20
·
verified ·
1 Parent(s): 024a099

Update app.py

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
  chatbot.launch()
8
 
 
3
  def echo(message, history):
4
  return message
5
 
6
+ chatbot = gr.ChatInterface(echo, type="messages")
7
  chatbot.launch()
8