Fabrice-TIERCELIN commited on
Commit
8b0de19
·
verified ·
1 Parent(s): 9a2cb0c

return 5 * 60

Browse files
Files changed (1) hide show
  1. app_v2v.py +2 -2
app_v2v.py CHANGED
@@ -538,8 +538,8 @@ def worker(input_video, prompt, n_prompt, seed, batch, resolution, total_second_
538
  def get_duration(input_video, prompt, n_prompt, seed, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch):
539
  global total_second_length_debug_value
540
  if total_second_length_debug_value is not None:
541
- return total_second_length_debug_value * 60 * 2
542
- return total_second_length * 60 * 2
543
 
544
  @spaces.GPU(duration=get_duration)
545
  def process(input_video, prompt, n_prompt, seed, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch):
 
538
  def get_duration(input_video, prompt, n_prompt, seed, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch):
539
  global total_second_length_debug_value
540
  if total_second_length_debug_value is not None:
541
+ return 5 * 60
542
+ return 5 * 60
543
 
544
  @spaces.GPU(duration=get_duration)
545
  def process(input_video, prompt, n_prompt, seed, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch):