Spaces:
Sleeping
Sleeping
Removed theme
Browse files
app.py
CHANGED
|
@@ -2,8 +2,8 @@ import gradio as gr
|
|
| 2 |
import random
|
| 3 |
|
| 4 |
def magic_8_ball(message, history):
|
| 5 |
-
response_options = ["Try again", "The odds are ever
|
| 6 |
return random.choice(response_options)
|
| 7 |
|
| 8 |
-
chatbot = gr.ChatInterface(magic_8_ball, title = "Random Response Chatbot", description = "Ask me a yes or no question"
|
| 9 |
chatbot.launch()
|
|
|
|
| 2 |
import random
|
| 3 |
|
| 4 |
def magic_8_ball(message, history):
|
| 5 |
+
response_options = ["Try again", "The odds are ever in your favor", "You're cooked", "Stupendously Correct", "Profoundly incorrect", "Perhaps", "Maybe, pray to your ancestors and the outcome may change", "Omens point to no"]
|
| 6 |
return random.choice(response_options)
|
| 7 |
|
| 8 |
+
chatbot = gr.ChatInterface(magic_8_ball, title = "Random Response Chatbot", description = "Ask me a yes or no question")
|
| 9 |
chatbot.launch()
|