polinapred commited on
Commit
656068f
·
verified ·
1 Parent(s): fa56037

Added flair

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,8 +2,8 @@ import gradio as gr
2
  import random
3
 
4
  def response(message, history):
5
- return random.choice(["Yes", "No"])
6
 
7
- chatbot = gr.ChatInterface(response)
8
 
9
  chatbot.launch()
 
2
  import random
3
 
4
  def response(message, history):
5
+ return random.choice(["Yes", "No", "Yeah… but don’t mess it up", "Ask again after you survive Monday.", "Signs point to yes, but your luck is questionable.", "Absolutely not. Try again in another timeline.", "The universe says chill first.", "It’s giving… maybe.", "Yes, but it’ll be awkward.", "Reply hazy, brain buffering…", "You already know the answer. You just don’t like it."])
6
 
7
+ chatbot = gr.ChatInterface(response, title="8 Ball", description="Ask me anything!")
8
 
9
  chatbot.launch()