Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +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()
|
|
|
|
| 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 |
|
|
|