Fabrice-TIERCELIN commited on
Commit
7e3412b
·
verified ·
1 Parent(s): 059b1f7

, progress = None

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1015,7 +1015,7 @@ def worker_video(input_video, prompts, n_prompt, seed, batch, resolution, total_
1015
  stream.output_queue.push(('end', None))
1016
  return
1017
 
1018
- def get_duration(input_image, image_position, prompt, generation_mode, n_prompt, randomize_seed, seed, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, enable_preview, use_teacache, mp4_crf):
1019
  global total_second_length_debug_value
1020
 
1021
  if total_second_length_debug_value is not None:
@@ -1102,7 +1102,7 @@ def process(input_image,
1102
  "You can upscale the result with RIFE. To make all your generated scenes consistent, you can then apply a face swap on the main character.", gr.update(interactive=True), gr.update(interactive=False)
1103
  break
1104
 
1105
- def get_duration_video(input_video, prompt, n_prompt, randomize_seed, seed, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, enable_preview, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch):
1106
  global total_second_length_debug_value
1107
  if total_second_length_debug_value is not None:
1108
  return min(total_second_length_debug_value * 60 * 10, 600)
 
1015
  stream.output_queue.push(('end', None))
1016
  return
1017
 
1018
+ def get_duration(input_image, image_position, prompt, generation_mode, n_prompt, randomize_seed, seed, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, enable_preview, use_teacache, mp4_crf, progress = None):
1019
  global total_second_length_debug_value
1020
 
1021
  if total_second_length_debug_value is not None:
 
1102
  "You can upscale the result with RIFE. To make all your generated scenes consistent, you can then apply a face swap on the main character.", gr.update(interactive=True), gr.update(interactive=False)
1103
  break
1104
 
1105
+ def get_duration_video(input_video, prompt, n_prompt, randomize_seed, seed, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, enable_preview, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch, progress = None):
1106
  global total_second_length_debug_value
1107
  if total_second_length_debug_value is not None:
1108
  return min(total_second_length_debug_value * 60 * 10, 600)