Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
#returns the message back to the user
|
| 4 |
+
def echo(message, history):
|
| 5 |
+
return message
|
| 6 |
+
|
| 7 |
+
chatbot = gr.ChatInterface() #chatbout ui - history & input
|
| 8 |
+
|
| 9 |
+
chatbot.launch() #lauches chatbot
|