antoinette-f commited on
Commit
fc9ae3d
·
verified ·
1 Parent(s): c05e966

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def echo(message,history): #function to return the history of messages sent
4
+ return message
5
+
6
+ chatbot = gr.ChatInterface(echo)
7
+ # chatbot UI - conversation history and user input
8
+
9
+ chatbot.launch()