tanyadhast commited on
Commit
a29a491
·
verified ·
1 Parent(s): 8a85b99

Set type as - to messages

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -4,8 +4,9 @@ import gradio as gr
4
  def echo(message, history):
5
  return message
6
  #a function that the user's message is repeated back to you
7
-
8
- chatbot = gr.ChatInterface(echo)
 
9
  #defining my chatbot so that the user can interact and see their conversation history and send me messages
10
 
11
  chatbot.launch()
 
4
  def echo(message, history):
5
  return message
6
  #a function that the user's message is repeated back to you
7
+
8
+ print("Hello World")
9
+ chatbot = gr.ChatInterface(echo, type="messdages")
10
  #defining my chatbot so that the user can interact and see their conversation history and send me messages
11
 
12
  chatbot.launch()