Cass13 commited on
Commit
5df0962
·
verified ·
1 Parent(s): f0d8b9a

made echo function

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,5 +1,7 @@
1
  import gradio as gr
2
 
3
-
4
- chatbot = gr.ChatInterface() #defining my chatbot so user can interact
 
 
5
  chatbot.launch()
 
1
  import gradio as gr
2
 
3
+ def echo(message, history):
4
+ return history #making an echo ting
5
+
6
+ chatbot = gr.ChatInterface(echo) #defining my chatbot so user can interact
7
  chatbot.launch()