Fabrice-TIERCELIN commited on
Commit
85b4daf
·
verified ·
1 Parent(s): 334306f

return outputs[0]

Browse files
Files changed (1) hide show
  1. 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
- [result_video, preview_image, progress_desc, progress_bar, start_button, end_button] = 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 [result_video]
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):