Spaces:
Runtime error
Runtime error
Fix error + new changes
Browse files
app.py
CHANGED
|
@@ -2,8 +2,8 @@ import gradio as gr
|
|
| 2 |
import random
|
| 3 |
|
| 4 |
def chance(message, history):
|
| 5 |
-
response_options["yes", "no"]
|
| 6 |
return random.choice(response_options)
|
| 7 |
|
| 8 |
-
chatbot = gr.ChatInterface(chance, title = "
|
| 9 |
chatbot.launch()
|
|
|
|
| 2 |
import random
|
| 3 |
|
| 4 |
def chance(message, history):
|
| 5 |
+
response_options = ["yes", "no", "maybe", "potentially", "your future is blurred"]
|
| 6 |
return random.choice(response_options)
|
| 7 |
|
| 8 |
+
chatbot = gr.ChatInterface(chance, title = "Magic 8-Ball Chatbot")
|
| 9 |
chatbot.launch()
|