fffiloni commited on
Commit
8a72154
1 Parent(s): 14eb1b8

Update inference.py

Browse files
Files changed (1) hide show
  1. inference.py +1 -2
inference.py CHANGED
@@ -122,8 +122,7 @@ if __name__ == "__main__":
122
 
123
  if args.is_long_video:
124
  window_size = int(np.sqrt(args.video_length))
125
- if window_size > 4 :
126
- window_size = 4
127
  sample = pipe.generate_long_video(args.prompt + POS_PROMPT, video_length=args.video_length, frames=pil_annotation,
128
  num_inference_steps=args.inference_steps, smooth_steps=args.smoother_steps, window_size=window_size,
129
  generator=generator, guidance_scale=12.5, negative_prompt=NEG_PROMPT,
 
122
 
123
  if args.is_long_video:
124
  window_size = int(np.sqrt(args.video_length))
125
+
 
126
  sample = pipe.generate_long_video(args.prompt + POS_PROMPT, video_length=args.video_length, frames=pil_annotation,
127
  num_inference_steps=args.inference_steps, smooth_steps=args.smoother_steps, window_size=window_size,
128
  generator=generator, guidance_scale=12.5, negative_prompt=NEG_PROMPT,