Spaces:
Running
on
Zero
Running
on
Zero
kwabs22
commited on
Commit
·
56ffade
1
Parent(s):
f4962fd
Load game supports media now?
Browse files
app.py
CHANGED
@@ -96,8 +96,8 @@ def generate_story_and_timeline(no_ui_timeline_points=10, no_media_timeline_poin
|
|
96 |
# Initialize merged timeline with UI and story timelines
|
97 |
merged_timeline = ui_timeline + story_timeline
|
98 |
no_media_merged_timeline = ui_timeline + story_timeline
|
99 |
-
print(merged_timeline)
|
100 |
-
print(no_media_merged_timeline)
|
101 |
|
102 |
# Include media-related items if specified
|
103 |
if include_media:
|
@@ -676,7 +676,9 @@ with gr.Blocks() as demo:
|
|
676 |
with gr.Group() as wamediagrouping:
|
677 |
gr.HTML("Placeholder to load all media tests")
|
678 |
|
679 |
-
|
|
|
|
|
680 |
|
681 |
wachoices = gr.Radio(label="Your Choices", choices=initgameinfo[1])
|
682 |
wasubmit_btn = gr.Button("Make Choice")
|
|
|
96 |
# Initialize merged timeline with UI and story timelines
|
97 |
merged_timeline = ui_timeline + story_timeline
|
98 |
no_media_merged_timeline = ui_timeline + story_timeline
|
99 |
+
#print(merged_timeline)
|
100 |
+
#print(no_media_merged_timeline)
|
101 |
|
102 |
# Include media-related items if specified
|
103 |
if include_media:
|
|
|
676 |
with gr.Group() as wamediagrouping:
|
677 |
gr.HTML("Placeholder to load all media tests")
|
678 |
|
679 |
+
if wamedia:
|
680 |
+
return wamediagrouping + media_items
|
681 |
+
else: wamediagrouping
|
682 |
|
683 |
wachoices = gr.Radio(label="Your Choices", choices=initgameinfo[1])
|
684 |
wasubmit_btn = gr.Button("Make Choice")
|