Janec09 commited on
Commit
4205a70
·
verified ·
1 Parent(s): c81fe88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -2,7 +2,12 @@ import gradio as gr
2
  import random
3
 
4
  def magic_8_ball(message, history):
5
- return random.choice(['Let's goooo!!!!!', 'Yes haha', 'NO', 'GREAT!!!'])
 
 
 
 
 
6
 
7
  print("Hello World!")
8
  chatbot = gr.ChatInterface(magic_8_ball, type = "messages")
 
2
  import random
3
 
4
  def magic_8_ball(message, history):
5
+ return random.choice(['yes', 'no'])
6
+
7
+ #def yes_or_no(message, history):
8
+ # return random.choice(['Yes', 'No'])
9
+ #def echo(message, history):
10
+ # return message
11
 
12
  print("Hello World!")
13
  chatbot = gr.ChatInterface(magic_8_ball, type = "messages")