Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,8 +2,10 @@ import gradio as gr
|
|
| 2 |
|
| 3 |
def echo(message, history):
|
| 4 |
return message
|
|
|
|
|
|
|
| 5 |
|
| 6 |
-
chatbot = gr.ChatInterface(echo) #chatbot UI - conversation history and user input
|
| 7 |
|
| 8 |
chatbot.launch()
|
| 9 |
|
|
|
|
| 2 |
|
| 3 |
def echo(message, history):
|
| 4 |
return message
|
| 5 |
+
|
| 6 |
+
print("hello, world!")
|
| 7 |
|
| 8 |
+
chatbot = gr.ChatInterface(echo, type="messages") #chatbot UI - conversation history and user input
|
| 9 |
|
| 10 |
chatbot.launch()
|
| 11 |
|