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