diyapg commited on
Commit
eacf08a
·
verified ·
1 Parent(s): ae94a39

Update app.py

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