JunlinHan commited on
Commit
5d87500
1 Parent(s): d6f752e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -190,7 +190,7 @@ def generate_mesh(image, source_size=512, render_size=384, mesh_size=384, export
190
  frames.append(frame_chunk['images_rgb'])
191
 
192
  frames = torch.cat(frames, dim=1)
193
- print(frames.shape)
194
  frames = (frames.permute(0, 2, 3, 1).cpu().numpy() * 255).astype(np.uint8)
195
 
196
  video_path = "awesome_video.mp4"
 
190
  frames.append(frame_chunk['images_rgb'])
191
 
192
  frames = torch.cat(frames, dim=1)
193
+ frames = frames.squeeze(0)
194
  frames = (frames.permute(0, 2, 3, 1).cpu().numpy() * 255).astype(np.uint8)
195
 
196
  video_path = "awesome_video.mp4"