Pengi5659 commited on
Commit
1bec5fb
·
verified ·
1 Parent(s): 9dffcf1

Create app.py

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