saanvim commited on
Commit
af2ecb3
·
verified ·
1 Parent(s): 226758e

created magic_8_ball update

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
  # import lines go at the top! Any libraries i need to import go up here ^^
4
 
5
- def yes_or_no (message, history):
6
- return random.choice(["Yes","No"])
7
 
8
  # def echo(message,history):
9
  # return message
 
2
  import random
3
  # import lines go at the top! Any libraries i need to import go up here ^^
4
 
5
+ def magic_8_ball (message, history):
6
+ return random.choice(["Don't count on it","Yes of course","Ask again later","My reply is no","Without a doubt","Cannot predict now"])
7
 
8
  # def echo(message,history):
9
  # return message