Spaces:
Sleeping
Sleeping
responses = ...
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import random
|
| 3 |
|
| 4 |
def respond_yes_or_no(message, history):
|
| 5 |
-
random.choices (["yes", "girl no"])
|
| 6 |
return random.choice (responses)
|
| 7 |
|
| 8 |
chatbot = gr.ChatInterface(respond_yes_or_no, type='messages')
|
|
|
|
| 2 |
import random
|
| 3 |
|
| 4 |
def respond_yes_or_no(message, history):
|
| 5 |
+
responses = random.choices (["yes", "girl no"])
|
| 6 |
return random.choice (responses)
|
| 7 |
|
| 8 |
chatbot = gr.ChatInterface(respond_yes_or_no, type='messages')
|