Anonymous commited on
Commit
de95d87
1 Parent(s): d0c1ef3
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -140,6 +140,7 @@ def infer(prompt):
140
  grid = torch.stack(frame_grids, dim=0) # stack in temporal dim [t, 3, n*h, w]
141
  grid = (grid + 1.0) / 2.0
142
  grid = (grid * 255).to(torch.uint8).permute(0, 2, 3, 1)
 
143
  torchvision.io.write_video(
144
  video_path,
145
  grid,
 
140
  grid = torch.stack(frame_grids, dim=0) # stack in temporal dim [t, 3, n*h, w]
141
  grid = (grid + 1.0) / 2.0
142
  grid = (grid * 255).to(torch.uint8).permute(0, 2, 3, 1)
143
+ print(grid.shape)
144
  torchvision.io.write_video(
145
  video_path,
146
  grid,