kwabs22 commited on
Commit
197401b
·
1 Parent(s): 5d37f7f

Load game supports media now?

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -738,12 +738,12 @@ with gr.Blocks() as demo:
738
  @gr.render(inputs=wamedia)
739
  def dynamic_with_media(media_items):
740
  print(media_items)
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 media_items #wamediagrouping
747
 
748
  wachoices = gr.Radio(label="Your Choices", choices=initgameinfo[1])
749
  wasubmit_btn = gr.Button("Make Choice")
 
738
  @gr.render(inputs=wamedia)
739
  def dynamic_with_media(media_items):
740
  print(media_items)
741
+ with gr.Group() as wamediagrouping:
742
+ gr.HTML("Placeholder to load all media tests")
743
+ for item in media_items:
744
+ item.render()
745
 
746
+ return wamediagrouping
747
 
748
  wachoices = gr.Radio(label="Your Choices", choices=initgameinfo[1])
749
  wasubmit_btn = gr.Button("Make Choice")