Spaces:
Runtime error
Runtime error
kwabs22
commited on
Commit
·
cc3ca20
1
Parent(s):
91635a9
Load game supports media now?
Browse files
app.py
CHANGED
@@ -538,9 +538,10 @@ def load_game(custom_config=None, with_media=False):
|
|
538 |
output_media = None
|
539 |
|
540 |
print("everything fine till here")
|
541 |
-
print(all_states[starting_location][starting_state])
|
|
|
542 |
if with_media:
|
543 |
-
if all_states[starting_location][starting_state][media]:
|
544 |
print(f"everything fine till here 4 - {all_states[starting_location][starting_state][media]}")
|
545 |
media = all_states[starting_location][starting_state][media]
|
546 |
print("everything fine till here 2")
|
|
|
538 |
output_media = None
|
539 |
|
540 |
print("everything fine till here")
|
541 |
+
print(all_states[starting_location][starting_state][media])
|
542 |
+
print(with_media)
|
543 |
if with_media:
|
544 |
+
if all_states[starting_location][starting_state][media] != []:
|
545 |
print(f"everything fine till here 4 - {all_states[starting_location][starting_state][media]}")
|
546 |
media = all_states[starting_location][starting_state][media]
|
547 |
print("everything fine till here 2")
|