c4r-sty commited on
Commit
6eed5fe
·
verified ·
1 Parent(s): 66e39a0

Fix error + new changes

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = "Yes or No Chatbot")
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()