Spaces:
Runtime error
Runtime error
Logan Zoellner
commited on
Commit
•
ea73078
1
Parent(s):
74e53ba
fix fallback
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ story="""Computer: You are standing in the enterance of the dungeon.
|
|
21 |
|
22 |
|
23 |
def fallbackResponse():
|
24 |
-
"You are attacked by a {monster}!".format(monster=random.choice(monsters))
|
25 |
|
26 |
def continue_story(prompt):
|
27 |
global story
|
|
|
21 |
|
22 |
|
23 |
def fallbackResponse():
|
24 |
+
return "You are attacked by a {monster}!".format(monster=random.choice(monsters))
|
25 |
|
26 |
def continue_story(prompt):
|
27 |
global story
|