Bea4uty commited on
Commit
f6cb0e8
·
verified ·
1 Parent(s): 132dc25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,10 +2,10 @@ 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
 
9
- chatbot = gr.ChatInterface(random_response, title = "Random Yes or No Chatbot")
10
 
11
  chatbot.launch()
 
2
  import random
3
 
4
  def random_response(message,history):
5
+ response_options = ["yes", "no", "maybe", "try again later.", "most definitely.", "definitely no.", "you choose your own destiny."]
6
  return random.choice(response_options)
7
 
8
 
9
+ chatbot = gr.ChatInterface(random_response, title = "Magic 8 Ball Chatbot")
10
 
11
  chatbot.launch()