mgetz commited on
Commit
462ce8f
·
verified ·
1 Parent(s): e5262ff

Create app.py, defined echo function

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