Spaces:
Runtime error
Runtime error
return 5 * 60
Browse files- 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
|
| 542 |
-
return
|
| 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):
|