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