mingbaer commited on
Commit
c8f3d47
·
verified ·
1 Parent(s): 24d9e6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,5 +2,6 @@ import gradio as gr
2
  def echo(message, history):
3
  # why history as a parameter
4
  return message
5
- chatbot = gr.ChatInterface(echo)
 
6
  chatbot.launch()
 
2
  def echo(message, history):
3
  # why history as a parameter
4
  return message
5
+ print("Hello, World!")
6
+ chatbot = gr.ChatInterface(echo, type="messages")
7
  chatbot.launch()