mgetz commited on
Commit
71d100c
·
verified ·
1 Parent(s): f84145b

defined and called the echo function

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,4 +1,8 @@
1
  import gradio as gr
2
- chatbot = gr.ChatInterface()
 
 
 
 
3
 
4
  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()