Omnibus commited on
Commit
d41512e
·
1 Parent(s): 9c951eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def im_2_vid(images,fps):
62
  print (width,height)
63
  size = (width, height)
64
  movie_clip = moviepy.video.io.ImageSequenceClip.ImageSequenceClip(images, fps)
65
- movie_clip.write_videofile(video_name+output_format)
66
  #codec = cv2.VideoWriter_fourcc(*'mp4v') #DIVX, DIVD
67
  #video = cv2.VideoWriter("tmp_vid.mp4", codec, fps, size)
68
  #for img in images:
 
62
  print (width,height)
63
  size = (width, height)
64
  movie_clip = moviepy.video.io.ImageSequenceClip.ImageSequenceClip(images, fps)
65
+ movie_clip.write_videofile(f'{uid}-rembg/bg_removed-{uuid.uuid1()}.mp4')
66
  #codec = cv2.VideoWriter_fourcc(*'mp4v') #DIVX, DIVD
67
  #video = cv2.VideoWriter("tmp_vid.mp4", codec, fps, size)
68
  #for img in images: