bugfix
Browse files
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 =
|
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 |
|