kwabs22 commited on
Commit
18ead55
·
1 Parent(s): cf045aa

editing placeholder check

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -529,12 +529,12 @@ with gr.Blocks() as demo:
529
  with gr.Row():
530
  game_structure_output_text_with_media = gr.Code(language="json")
531
  game_structure_output_text = gr.Code(language="json")
532
- json_input_game_structure_output_text_with_media = gr.State()
533
 
534
- gr.HTML("Editing placeholder")
535
- @gr.render(inputs=game_structure_output_text_with_media)
536
- def update(game_structure_output_text_with_media):
537
- return show_elements_json_input(game_structure_output_text_with_media)
538
 
539
  with gr.Row():
540
  timeline_output_with_assets = gr.Textbox(label="Timeline with Assets Considered", lines=20)
 
529
  with gr.Row():
530
  game_structure_output_text_with_media = gr.Code(language="json")
531
  game_structure_output_text = gr.Code(language="json")
532
+ json_input_game_structure_output_text_with_media = gr.State()
533
 
534
+ gr.HTML("Editing placeholder")
535
+ @gr.render(inputs=game_structure_output_text_with_media)
536
+ def update(game_structure_output_text_with_media):
537
+ return show_elements_json_input(game_structure_output_text_with_media)
538
 
539
  with gr.Row():
540
  timeline_output_with_assets = gr.Textbox(label="Timeline with Assets Considered", lines=20)