Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = ["
|
| 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 |
|