abi-codes commited on
Commit
d6215f9
·
verified ·
1 Parent(s): dd6e610

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -5,12 +5,11 @@ def echo(message, history):
5
  return(message)
6
 
7
  def yes_no(messsage, history):
8
- responses = ["Yes", "No"]
9
  return random.choice(responses)
10
 
11
-
12
  print("Hello, World")
13
 
14
- chatbot = gr.ChatInterface(yes_no, type="messages", title="8 ball", description="Ask it questions and it well tell you if it will happen or not", themes.Default(primary_hue="red", secondary_hue="pink"))")
15
 
16
  chatbot.launch()
 
5
  return(message)
6
 
7
  def yes_no(messsage, history):
8
+ responses = ["Yes", "No", "Mabye", "Defently", "Ask me later", "Absolutely not"]
9
  return random.choice(responses)
10
 
 
11
  print("Hello, World")
12
 
13
+ chatbot = gr.ChatInterface(yes_no, type="messages", title="8 ball", description="Ask it questions and it well tell you if it will happen or not", theme="XKCD"")
14
 
15
  chatbot.launch()