Spaces:
Sleeping
Sleeping
Updated responses to be like a magic 8 ball
Browse files
app.py
CHANGED
|
@@ -2,9 +2,9 @@ import gradio as gr
|
|
| 2 |
import random
|
| 3 |
|
| 4 |
def random_response(message, history):
|
| 5 |
-
response_options = ["yes", "no"]
|
| 6 |
return random.choice(response_options)
|
| 7 |
|
| 8 |
-
chatbot = gr.ChatInterface(random_response, title = "
|
| 9 |
|
| 10 |
chatbot.launch()
|
|
|
|
| 2 |
import random
|
| 3 |
|
| 4 |
def random_response(message, history):
|
| 5 |
+
response_options = ["highly likely", "signs point to yes", "doubtful", "absolutely", "no way", "sources say no", "it is certain"]
|
| 6 |
return random.choice(response_options)
|
| 7 |
|
| 8 |
+
chatbot = gr.ChatInterface(random_response, title = "Magic 🎱 Chatbot")
|
| 9 |
|
| 10 |
chatbot.launch()
|