Spaces:
Sleeping
Sleeping
Set type as - to messages
Browse files
app.py
CHANGED
|
@@ -4,8 +4,9 @@ import gradio as gr
|
|
| 4 |
def echo(message, history):
|
| 5 |
return message
|
| 6 |
#a function that the user's message is repeated back to you
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 9 |
#defining my chatbot so that the user can interact and see their conversation history and send me messages
|
| 10 |
|
| 11 |
chatbot.launch()
|
|
|
|
| 4 |
def echo(message, history):
|
| 5 |
return message
|
| 6 |
#a function that the user's message is repeated back to you
|
| 7 |
+
|
| 8 |
+
print("Hello World")
|
| 9 |
+
chatbot = gr.ChatInterface(echo, type="messdages")
|
| 10 |
#defining my chatbot so that the user can interact and see their conversation history and send me messages
|
| 11 |
|
| 12 |
chatbot.launch()
|