sarahrobe commited on
Commit
c551d54
·
verified ·
1 Parent(s): 554b427

Updated responses to be like a magic 8 ball

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