AmbikaP commited on
Commit
d280812
·
verified ·
1 Parent(s): 9314061
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,10 +6,10 @@ import random
6
  #return message
7
 
8
  def yes_or_no(message,history):
9
- return random.choice(["absolutely NOT.","now why would you even ask that", "this is not what I meant when i said do it for the lore..","do it for the lore!", "+1000 aura if you do","yes PLEASE"])
10
 
11
  print("Hello world!")
12
- chatbot = gr.ChatInterface(yes_or_no, type="messages", description = "Feeling impulsive? Let's see if you shld ACC go thru with it", title = "Magic 8 Ball Chatbot", theme = "soft")
13
  # defining my chatbot so that the user can interact, see their convo history and send new messages
14
 
15
  chatbot.launch()
 
6
  #return message
7
 
8
  def yes_or_no(message,history):
9
+ return random.choice(["absolutely NOT.","now why would you even ask that", "this is not what I meant when i said do it for the lore..","do it for the lore!", "+1000 aura if you do","yes PLEASE", "i mean you do you ig..","i mean yolo"])
10
 
11
  print("Hello world!")
12
+ chatbot = gr.ChatInterface(yes_or_no, type="messages", description = "Feeling impulsive? Let's see if you shld ACC go thru with it", title = "Magic 8 Ball Chatbot", theme = "monochrome")
13
  # defining my chatbot so that the user can interact, see their convo history and send new messages
14
 
15
  chatbot.launch()