Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,5 +2,6 @@ import gradio as gr
|
|
| 2 |
def echo(message, history):
|
| 3 |
# why history as a parameter
|
| 4 |
return message
|
| 5 |
-
|
|
|
|
| 6 |
chatbot.launch()
|
|
|
|
| 2 |
def echo(message, history):
|
| 3 |
# why history as a parameter
|
| 4 |
return message
|
| 5 |
+
print("Hello, World!")
|
| 6 |
+
chatbot = gr.ChatInterface(echo, type="messages")
|
| 7 |
chatbot.launch()
|