sofiafraga commited on
Commit
a8d96fd
·
verified ·
1 Parent(s): c8305a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import random
4
  #Importing gradio for chatbox and random for responses
5
 
6
  def respond_yes_or_no(message, history):
7
- responses = ["Yes", "No"]
8
  return random.choice(responses)
9
 
10
- chatbot = gr.ChatInterface(respond_yes_or_no, type = "messages", title = "Yes or No Bot", description = "This chatbox randomly responses with yes or no")
11
  chatbot.launch()
 
4
  #Importing gradio for chatbox and random for responses
5
 
6
  def respond_yes_or_no(message, history):
7
+ responses = ["Yes", "No", "All Signs Point to Yes", "Very doubtful"]
8
  return random.choice(responses)
9
 
10
+ chatbot = gr.ChatInterface(respond_yes_or_no, type = "messages", theme='d8ahazard/material_design_rd', title = "Magic 8 Ball Bot", description = "This chatbox is a magic 8 ball")
11
  chatbot.launch()