shaneli1020 commited on
Commit
76966b5
·
verified ·
1 Parent(s): 37a39d5

Created echo chatbot using define function

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