mingbaer commited on
Commit
c68e2be
·
verified ·
1 Parent(s): 4aee7c4

Created working echo chatbot

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