liayin commited on
Commit
45bf429
·
verified ·
1 Parent(s): f4a8745

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ def echo(message, history):
5
  return(message)
6
 
7
  def yes_no(message,history):
8
- responses=["yes","no"]
9
  return random.choice(responses)
10
 
11
  chatbot = gr.ChatInterface(yes_no,type="messages",title="The Best cahtbot Ever",description="This bot will only give you perfect answer")
 
5
  return(message)
6
 
7
  def yes_no(message,history):
8
+ responses=["yes","no","thou shall die","bleh me no magic","magic 8 ball says you should blahhhh"]
9
  return random.choice(responses)
10
 
11
  chatbot = gr.ChatInterface(yes_no,type="messages",title="The Best cahtbot Ever",description="This bot will only give you perfect answer")