Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
app.py
CHANGED
@@ -138,8 +138,8 @@ def infer(prompt,video_in, seed_in, trim_value):
|
|
138 |
rgb_im = images[0].convert("RGB")
|
139 |
|
140 |
# exporting the image
|
141 |
-
rgb_im.save("result_img.jpg")
|
142 |
-
result_frames.append("result_img.jpg")
|
143 |
print("frame " + i + ": done;")
|
144 |
|
145 |
final_vid = create_video(result_frames, fps)
|
|
|
138 |
rgb_im = images[0].convert("RGB")
|
139 |
|
140 |
# exporting the image
|
141 |
+
rgb_im.save(f"result_img-{i}.jpg")
|
142 |
+
result_frames.append(f"result_img-{i}.jpg")
|
143 |
print("frame " + i + ": done;")
|
144 |
|
145 |
final_vid = create_video(result_frames, fps)
|