Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -203,10 +203,10 @@ Produce a pro level styled and tuned them GUI that has 1 button that when presse
|
|
| 203 |
return DEMO_BLUEPRINT, DEMO_INTENT
|
| 204 |
|
| 205 |
def start_execution_sequence():
|
| 206 |
-
return gr.update(visible=False), gr.update(visible=True
|
| 207 |
|
| 208 |
def end_execution_sequence(sys_log, cod_log, strat_log, master_log):
|
| 209 |
-
return sys_log, cod_log, strat_log, master_log, gr.update(visible=False), gr.update(visible=True
|
| 210 |
|
| 211 |
def reset_to_default():
|
| 212 |
return gr.update(visible=True), gr.update(visible=False), gr.update(visible=False)
|
|
@@ -219,9 +219,9 @@ Produce a pro level styled and tuned them GUI that has 1 button that when presse
|
|
| 219 |
blueprint_input = gr.Textbox(label="Architect's Blueprint", placeholder="Enter detailed technical specifications...", lines=8)
|
| 220 |
|
| 221 |
with gr.Column():
|
| 222 |
-
default_image = gr.Image(value="AI_CREATIVE_TECH.png",
|
| 223 |
-
working_video = gr.Video(value="AICT_Working.mp4",
|
| 224 |
-
celebrate_video = gr.Video(value="AICT_CELEBRATE.mp4",
|
| 225 |
|
| 226 |
intent_input = gr.Textbox(label="Architect's Intent", placeholder="Enter project goals and context...", lines=8)
|
| 227 |
|
|
|
|
| 203 |
return DEMO_BLUEPRINT, DEMO_INTENT
|
| 204 |
|
| 205 |
def start_execution_sequence():
|
| 206 |
+
return gr.update(visible=False), gr.update(visible=True), gr.update(visible=False)
|
| 207 |
|
| 208 |
def end_execution_sequence(sys_log, cod_log, strat_log, master_log):
|
| 209 |
+
return sys_log, cod_log, strat_log, master_log, gr.update(visible=False), gr.update(visible=True)
|
| 210 |
|
| 211 |
def reset_to_default():
|
| 212 |
return gr.update(visible=True), gr.update(visible=False), gr.update(visible=False)
|
|
|
|
| 219 |
blueprint_input = gr.Textbox(label="Architect's Blueprint", placeholder="Enter detailed technical specifications...", lines=8)
|
| 220 |
|
| 221 |
with gr.Column():
|
| 222 |
+
default_image = gr.Image(value="AI_CREATIVE_TECH.png", show_label=False, visible=True, interactive=False, show_download_button=False, show_share_button=False)
|
| 223 |
+
working_video = gr.Video(value="AICT_Working.mp4", show_label=False, visible=False, autoplay=True, loop=True, show_download_button=False, show_share_button=False)
|
| 224 |
+
celebrate_video = gr.Video(value="AICT_CELEBRATE.mp4", show_label=False, visible=False, autoplay=True, loop=False, show_download_button=False, show_share_button=False)
|
| 225 |
|
| 226 |
intent_input = gr.Textbox(label="Architect's Intent", placeholder="Enter project goals and context...", lines=8)
|
| 227 |
|