return outputs[0]
Browse files- app_endframe.py +2 -2
app_endframe.py
CHANGED
|
@@ -666,8 +666,8 @@ def get_duration(input_video, end_frame, end_frame_weight, prompt, n_prompt, see
|
|
| 666 |
return total_second_length * 60
|
| 667 |
|
| 668 |
def process_example(input_video, end_frame, end_frame_weight, 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):
|
| 669 |
-
|
| 670 |
-
return [
|
| 671 |
|
| 672 |
@spaces.GPU(duration=get_duration)
|
| 673 |
def process(input_video, end_frame, end_frame_weight, 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):
|
|
|
|
| 666 |
return total_second_length * 60
|
| 667 |
|
| 668 |
def process_example(input_video, end_frame, end_frame_weight, 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):
|
| 669 |
+
outputs = process(input_video, end_frame, end_frame_weight, 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)
|
| 670 |
+
return outputs[0]
|
| 671 |
|
| 672 |
@spaces.GPU(duration=get_duration)
|
| 673 |
def process(input_video, end_frame, end_frame_weight, 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):
|