Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import gradio as gr
|
|
| 3 |
def echo(message,history):
|
| 4 |
return message
|
| 5 |
|
|
|
|
| 6 |
|
| 7 |
-
|
| 8 |
-
chatbot = gr.ChatInterface(echo)
|
| 9 |
chatbot.launch()
|
|
|
|
| 3 |
def echo(message,history):
|
| 4 |
return message
|
| 5 |
|
| 6 |
+
print("'hello world!'")
|
| 7 |
|
| 8 |
+
chatbot = gr.ChatInterface(echo, type="messages")
|
|
|
|
| 9 |
chatbot.launch()
|