anna1au commited on
Commit
4ab3987
·
verified ·
1 Parent(s): f034972

Created echo function

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