Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -416,7 +416,8 @@ def worker(
|
|
416 |
unload_complete_models()
|
417 |
|
418 |
output_filename = os.path.join(outputs_folder, f'{job_id}_{total_generated_latent_frames}.mp4')
|
419 |
-
|
|
|
420 |
|
421 |
print(f'Decoded. Latent shape {real_history_latents.shape}; pixel shape {history_pixels.shape}')
|
422 |
|
|
|
416 |
unload_complete_models()
|
417 |
|
418 |
output_filename = os.path.join(outputs_folder, f'{job_id}_{total_generated_latent_frames}.mp4')
|
419 |
+
|
420 |
+
save_bcthw_as_mp4(history_pixels, output_filename, fps=30)
|
421 |
|
422 |
print(f'Decoded. Latent shape {real_history_latents.shape}; pixel shape {history_pixels.shape}')
|
423 |
|