AriniR commited on
Commit
ce5bb83
·
verified ·
1 Parent(s): 96c0fed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -1,10 +1,13 @@
1
  import gradio as gr
2
  chatbot = gr.ChatInterface()
3
- chatbot.launch()
4
 
5
  def echo (message, history):
6
- chatbot = gr.ChatInterface(echo)
7
- chatbot.launch
 
 
 
8
 
9
  # repeats messages.
10
 
 
1
  import gradio as gr
2
  chatbot = gr.ChatInterface()
3
+
4
 
5
  def echo (message, history):
6
+ return message
7
+ chatbot = gr.ChatInterface(echo)
8
+
9
+
10
+ chatbot.launch()
11
 
12
  # repeats messages.
13