Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
chatbot = gr.ChatInterface()
|
| 3 |
-
|
| 4 |
|
| 5 |
def echo (message, history):
|
| 6 |
-
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# repeats messages.
|
| 10 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
chatbot = gr.ChatInterface()
|
| 3 |
+
|
| 4 |
|
| 5 |
def echo (message, history):
|
| 6 |
+
return message
|
| 7 |
+
chatbot = gr.ChatInterface(echo)
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
chatbot.launch()
|
| 11 |
|
| 12 |
# repeats messages.
|
| 13 |
|