Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,9 @@ import gradio as gr
|
|
| 2 |
|
| 3 |
def echo(message, history):
|
| 4 |
return message
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
| 7 |
|
| 8 |
chatbot.launch()
|
|
|
|
| 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()
|