Update app.py
Browse files
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 |
-
|
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"
|