Spaces:
Runtime error
Runtime error
kwabs22
commited on
Commit
·
2c366e0
1
Parent(s):
40f8ce2
editing placeholder check
Browse files
app.py
CHANGED
|
@@ -497,7 +497,7 @@ initgameinfo = start_game()
|
|
| 497 |
#-----------------------------------------------------------------------------------------------------------------------------------
|
| 498 |
|
| 499 |
with gr.Blocks() as demo:
|
| 500 |
-
gr.HTML("""<div style="width:
|
| 501 |
<div style="display: flex; justify-content: center; margin-bottom: 20px; align-items: center;">
|
| 502 |
<div style="width: 20%; text-align: center">A program exist around data </div>
|
| 503 |
<div style="width: 20%; text-align: center">We can generate almost any media data and more </div>
|
|
@@ -518,9 +518,9 @@ with gr.Blocks() as demo:
|
|
| 518 |
json_input_game_structure_output_text_with_media = gr.State()
|
| 519 |
|
| 520 |
gr.HTML("Editing placeholder")
|
| 521 |
-
@gr.render(inputs=
|
| 522 |
-
def update(
|
| 523 |
-
return show_elements(show_elements_json_input)
|
| 524 |
with gr.Row():
|
| 525 |
timeline_output_with_assets = gr.Textbox(label="Timeline with Assets Considered", lines=20)
|
| 526 |
timeline_output = gr.Textbox(label="Timeline (Order might be different for now)", lines=20)
|
|
|
|
| 497 |
#-----------------------------------------------------------------------------------------------------------------------------------
|
| 498 |
|
| 499 |
with gr.Blocks() as demo:
|
| 500 |
+
gr.HTML("""<div style="width: 100%; text-align: center">Main ideas for this space is (June 2024) (Custom component planning?):</div>
|
| 501 |
<div style="display: flex; justify-content: center; margin-bottom: 20px; align-items: center;">
|
| 502 |
<div style="width: 20%; text-align: center">A program exist around data </div>
|
| 503 |
<div style="width: 20%; text-align: center">We can generate almost any media data and more </div>
|
|
|
|
| 518 |
json_input_game_structure_output_text_with_media = gr.State()
|
| 519 |
|
| 520 |
gr.HTML("Editing placeholder")
|
| 521 |
+
@gr.render(inputs=game_structure_output_text_with_media)
|
| 522 |
+
def update(game_structure_output_text_with_media):
|
| 523 |
+
return show_elements(show_elements_json_input(game_structure_output_text_with_media))
|
| 524 |
with gr.Row():
|
| 525 |
timeline_output_with_assets = gr.Textbox(label="Timeline with Assets Considered", lines=20)
|
| 526 |
timeline_output = gr.Textbox(label="Timeline (Order might be different for now)", lines=20)
|