demetz commited on
Commit
b4c9a83
·
verified ·
1 Parent(s): ecc358c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,10 +1,11 @@
1
  import gradio as gr
2
  import random
3
 
 
4
 
5
  def magicEight(message, history):
6
 
7
- answers = ["the outlook is good", "no, sorry", "maybe", "ask me again"]
8
  message = random.choice(answers)
9
  return message
10
 
 
1
  import gradio as gr
2
  import random
3
 
4
+ gr.ChatInterface("✨ Welcome to Magic 🎱 Ball. ✨ Ask me any question... ")
5
 
6
  def magicEight(message, history):
7
 
8
+ answers = ["The outlook is good!", "No, sorry", "Maybe", "Ask me again"]
9
  message = random.choice(answers)
10
  return message
11