Spaces:
Runtime error
Runtime error
Log
Browse files
app.py
CHANGED
|
@@ -667,6 +667,7 @@ def worker_last_frame(input_image, prompts, n_prompt, seed, resolution, total_se
|
|
| 667 |
else:
|
| 668 |
section_latent_frames = latent_window_size * 2
|
| 669 |
overlapped_frames = latent_window_size * 4 - 3
|
|
|
|
| 670 |
|
| 671 |
real_history_latents = history_latents[:, :, :min(section_latent_frames, total_generated_latent_frames), :, :]
|
| 672 |
history_pixels = soft_append_bcthw(vae_decode(real_history_latents, vae).cpu(), history_pixels, overlapped_frames)
|
|
|
|
| 667 |
else:
|
| 668 |
section_latent_frames = latent_window_size * 2
|
| 669 |
overlapped_frames = latent_window_size * 4 - 3
|
| 670 |
+
print("overlapped_frames " + str(overlapped_frames))
|
| 671 |
|
| 672 |
real_history_latents = history_latents[:, :, :min(section_latent_frames, total_generated_latent_frames), :, :]
|
| 673 |
history_pixels = soft_append_bcthw(vae_decode(real_history_latents, vae).cpu(), history_pixels, overlapped_frames)
|