fffiloni commited on
Commit
34e28bf
1 Parent(s): fb90370

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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)