Spaces:
Sleeping
Sleeping
fixed spelling
Browse files
app.py
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
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 (
|
| 7 |
|
| 8 |
-
chatbot = gr.ChatInterface(respond_yes_or_no, type='
|
| 9 |
chatbot.launch()
|
| 10 |
|
| 11 |
|
|
|
|
| 1 |
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')
|
| 9 |
chatbot.launch()
|
| 10 |
|
| 11 |
|