Spaces:
Paused
Paused
Update api/ltx_server_refactored.py
Browse files
api/ltx_server_refactored.py
CHANGED
|
@@ -493,15 +493,10 @@ class VideoService:
|
|
| 493 |
|
| 494 |
#latent_path_bufer = load_tensor(latent_path)
|
| 495 |
#final_latents = torch.cat(lista_tensores, dim=2).to(self.device)
|
| 496 |
-
|
| 497 |
-
|
| 498 |
-
|
| 499 |
-
|
| 500 |
-
|
| 501 |
|
| 502 |
|
| 503 |
#poda inicio overlap
|
| 504 |
-
if i > 0 and poda_latents_num > 0
|
| 505 |
latentes_bruto = latentes_bruto_r[:, :, poda_latents_num:, :, :].clone()
|
| 506 |
else:
|
| 507 |
latentes_bruto = latentes_bruto_r[:, :, :, :, :].clone()
|
|
|
|
| 493 |
|
| 494 |
#latent_path_bufer = load_tensor(latent_path)
|
| 495 |
#final_latents = torch.cat(lista_tensores, dim=2).to(self.device)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 496 |
|
| 497 |
|
| 498 |
#poda inicio overlap
|
| 499 |
+
if i > 0 and poda_latents_num > 0,:
|
| 500 |
latentes_bruto = latentes_bruto_r[:, :, poda_latents_num:, :, :].clone()
|
| 501 |
else:
|
| 502 |
latentes_bruto = latentes_bruto_r[:, :, :, :, :].clone()
|