bhavya-k commited on
Commit
ab33d30
·
verified ·
1 Parent(s): 1b8a8d7
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
  import random
3
  def random_message(message, history):
4
- choices = ["you have 24 hours", "yay ur lucky or whateva", "do not step outside", "try again", "pop quiz days be like", "please tell me you're not asking about a man.", "my sources tell me no", "haha you thought", "Im like 90.9% sure your being watched", "is this a sign" girl please.", "yeah sure!!","I think if you look deep within you'll find the answer yourself...(basically idk)"]
5
  random_element = random.choice(choices)
6
  return random_element
7
- chatbot = gr.ChatInterface(random_message, type = "messages", description ="<strong><center>Welcome to your 8 ball.</strong><br>Ask Me Anything", title="Eight Ball"))
8
  chatbot.launch()
 
1
  import gradio as gr
2
  import random
3
  def random_message(message, history):
4
+ choices = ["you have 24 hours", "yay ur lucky or whateva", "do not step outside", "try again", "pop quiz days be like", "please tell me you're not asking about a man.", "my sources tell me no", "haha you thought", "Im like 90.9% sure your being watched"]
5
  random_element = random.choice(choices)
6
  return random_element
7
+ chatbot = gr.ChatInterface(random_message, type = "messages", description ="<strong><center>Welcome to your 8 ball.</strong><br>Ask Me Anything", title ="Eight Ball"))
8
  chatbot.launch()