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