freealise commited on
Commit
45242ca
·
verified ·
1 Parent(s): 6c453b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -87,8 +87,8 @@ def get_frames(video_in, step, name, resize_w):
87
 
88
  def create_video(frames, fps, type):
89
  print("building video result")
90
- #for j, img in enumerate(frames):
91
- # frames[j] = cv2.cvtColor(cv2.imread(img).astype(np.uint8), cv2.COLOR_RGB2RGBA)
92
 
93
  mediapy.write_video(type + "_result.mp4", frames, fps=fps)
94
 
 
87
 
88
  def create_video(frames, fps, type):
89
  print("building video result")
90
+ for j, img in enumerate(frames):
91
+ frames[j] = cv2.imread(img).astype(np.uint8)
92
 
93
  mediapy.write_video(type + "_result.mp4", frames, fps=fps)
94