riyamalshe commited on
Commit
c96fc09
·
verified ·
1 Parent(s): f9ec712

Added new properties to the chatbot!

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,5 +12,5 @@ def random_response(message, history):
12
  def magic_8_ball(message, history):
13
  return random.choice(["It is certain", "Most likely", "Yes", "You may rely on it", "Ask again later", "Don't count on it", "My sources say no", "Cannot predict now", "Outlook not so good"])
14
 
15
- chatbot = gr.ChatInterface(magic_8_ball, type = 'messages')
16
  chatbot.launch()
 
12
  def magic_8_ball(message, history):
13
  return random.choice(["It is certain", "Most likely", "Yes", "You may rely on it", "Ask again later", "Don't count on it", "My sources say no", "Cannot predict now", "Outlook not so good"])
14
 
15
+ chatbot = gr.ChatInterface(magic_8_ball, type = 'messages', title = 'Magic 8 Ball', description = "Ask me your most pressing questions!", theme = "mgetz/Celeb_glitzy")
16
  chatbot.launch()