Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,14 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
import random
|
3 |
|
4 |
-
answers = ["the outlook is good", "no, sorry", "maybe", "ask me again"]
|
5 |
|
6 |
def magicEight(message, history):
|
7 |
|
|
|
8 |
message = random.choice(answers)
|
9 |
-
|
10 |
-
|
11 |
-
return message
|
12 |
|
13 |
print("Hello, world!")
|
14 |
|
|
|
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 |
|
11 |
print("Hello, world!")
|
12 |
|