DeepBeepMeep commited on
Commit
9bef360
·
1 Parent(s): 8de1a69

Fixed Sliding Window tab sometime partially hidden

Browse files
Files changed (1) hide show
  1. wgp.py +2 -2
wgp.py CHANGED
@@ -3717,7 +3717,7 @@ def generate_video_tab(update_form = False, state_dict = None, ui_defaults = Non
3717
 
3718
  with gr.Tab("Sliding Window", visible= "Vace" in model_filename ) as sliding_window_tab:
3719
 
3720
- with gr.Column(visible= "Vace" in model_filename ) as sliding_window_row:
3721
  gr.Markdown("<B>A Sliding Window allows you to generate video longer than those of the model limits</B>")
3722
 
3723
  sliding_window_repeat = gr.Slider(0, 20, value=ui_defaults.get("sliding_window_repeat", 0), step=1, label="Sliding Window Iterations (O=Disabled)")
@@ -3791,7 +3791,7 @@ def generate_video_tab(update_form = False, state_dict = None, ui_defaults = Non
3791
  let countdown = 5;
3792
  const label = document.getElementById('quit_timer_label');
3793
  if (label) {
3794
- label.innerText = `${countdown}...`;
3795
  window.quitCountdownInterval = setInterval(() => {
3796
  countdown--;
3797
  if (countdown > 0) {
 
3717
 
3718
  with gr.Tab("Sliding Window", visible= "Vace" in model_filename ) as sliding_window_tab:
3719
 
3720
+ with gr.Column():
3721
  gr.Markdown("<B>A Sliding Window allows you to generate video longer than those of the model limits</B>")
3722
 
3723
  sliding_window_repeat = gr.Slider(0, 20, value=ui_defaults.get("sliding_window_repeat", 0), step=1, label="Sliding Window Iterations (O=Disabled)")
 
3791
  let countdown = 5;
3792
  const label = document.getElementById('quit_timer_label');
3793
  if (label) {
3794
+ label.innerText = `M${countdown}...`;
3795
  window.quitCountdownInterval = setInterval(() => {
3796
  countdown--;
3797
  if (countdown > 0) {