Spaces:
Sleeping
Sleeping
Changed echo to respond
Browse files
app.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
|
| 3 |
-
def
|
| 4 |
-
return
|
| 5 |
|
| 6 |
chatbot = gr.ChatInterface(echo)
|
| 7 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import random
|
| 3 |
|
| 4 |
+
def respond(message, history):
|
| 5 |
+
return random.choice(["Yes", "No"])
|
| 6 |
|
| 7 |
chatbot = gr.ChatInterface(echo)
|
| 8 |
|