Spaces:
Runtime error
Runtime error
kwabs22
commited on
Commit
·
6cfe6de
1
Parent(s):
76fdd6c
Load game supports media now?
Browse files
app.py
CHANGED
|
@@ -618,8 +618,8 @@ def load_game(custom_config=None, with_media=False):
|
|
| 618 |
game_log,
|
| 619 |
description,
|
| 620 |
gr.update(choices=choices),
|
| 621 |
-
game_session,
|
| 622 |
gr.update(value=custom_config),
|
|
|
|
| 623 |
output_media if with_media else None
|
| 624 |
)
|
| 625 |
|
|
@@ -741,7 +741,7 @@ with gr.Blocks() as demo:
|
|
| 741 |
with gr.Group() as wamediagrouping:
|
| 742 |
gr.HTML("Placeholder to load all media tests")
|
| 743 |
for item in media_items:
|
| 744 |
-
|
| 745 |
|
| 746 |
return wamediagrouping
|
| 747 |
|
|
|
|
| 618 |
game_log,
|
| 619 |
description,
|
| 620 |
gr.update(choices=choices),
|
|
|
|
| 621 |
gr.update(value=custom_config),
|
| 622 |
+
game_session,
|
| 623 |
output_media if with_media else None
|
| 624 |
)
|
| 625 |
|
|
|
|
| 741 |
with gr.Group() as wamediagrouping:
|
| 742 |
gr.HTML("Placeholder to load all media tests")
|
| 743 |
for item in media_items:
|
| 744 |
+
item
|
| 745 |
|
| 746 |
return wamediagrouping
|
| 747 |
|