h1ba commited on
Commit
aa1fc59
·
verified ·
1 Parent(s): 6891d5b

Update app.py

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