x2XcarleX2x commited on
Commit
100878b
·
verified ·
1 Parent(s): 805147f

Update app_wan.py

Browse files
Files changed (1) hide show
  1. app_wan.py +2 -5
app_wan.py CHANGED
@@ -130,10 +130,7 @@ with gr.Blocks(theme=gr.themes.Glass(), css=css) as app:
130
 
131
  with gr.Column(scale=1):
132
  output_video = gr.Video(label="Generated Video", autoplay=True)
133
- with gr.Accordion("Debugging Visuals", open=True):
134
- debug_video = gr.Video(label="Denoising Process Video", autoplay=False)
135
- steps_grid_image = gr.Image(label="Denoising Steps Grid", interactive=False, type="filepath")
136
-
137
  ui_inputs = [
138
  start_image, start_frame_tb,
139
  handle_image, handle_frame_tb, handle_peso_sl,
@@ -142,7 +139,7 @@ with gr.Blocks(theme=gr.themes.Glass(), css=css) as app:
142
  steps_slider, guidance_scale_input, guidance_scale_2_input,
143
  seed_input, randomize_seed_checkbox,
144
  ]
145
- ui_outputs = [output_video, seed_input, debug_video, steps_grid_image]
146
 
147
  generate_button.click(fn=ui_generate_video, inputs=ui_inputs, outputs=ui_outputs)
148
 
 
130
 
131
  with gr.Column(scale=1):
132
  output_video = gr.Video(label="Generated Video", autoplay=True)
133
+
 
 
 
134
  ui_inputs = [
135
  start_image, start_frame_tb,
136
  handle_image, handle_frame_tb, handle_peso_sl,
 
139
  steps_slider, guidance_scale_input, guidance_scale_2_input,
140
  seed_input, randomize_seed_checkbox,
141
  ]
142
+ ui_outputs = [output_video, seed_input]
143
 
144
  generate_button.click(fn=ui_generate_video, inputs=ui_inputs, outputs=ui_outputs)
145