WhoDat55 commited on
Commit
d9eb3c3
·
verified ·
1 Parent(s): 111599f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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, autoplay=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, autoplay=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", label="Media Display", visible=True, interactive=False)
223
- working_video = gr.Video(value="AICT_Working.mp4", label="Processing...", visible=False, autoplay=False, loop=True)
224
- celebrate_video = gr.Video(value="AICT_CELEBRATE.mp4", label="Complete!", visible=False, autoplay=False, loop=False)
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