ciditel commited on
Commit
eefaae0
·
verified ·
1 Parent(s): 518de77
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def img2video(image,seed="",fps=7,outfile=""):
28
  image = load_image(image)
29
  image = image.resize((1024, 576))
30
  generator = torch.manual_seed(seed)
31
- frames = pipeline(image, decode_chunk_size=8, generator=generator).frames[0]
32
  export_to_video(frames, outfile, fps=fps)
33
  return outfile
34
 
 
28
  image = load_image(image)
29
  image = image.resize((1024, 576))
30
  generator = torch.manual_seed(seed)
31
+ frames = pipelineVideo(image, decode_chunk_size=8, generator=generator).frames[0]
32
  export_to_video(frames, outfile, fps=fps)
33
  return outfile
34