Eueuiaa commited on
Commit
91a0fac
·
verified ·
1 Parent(s): fd9ba1f

Update api/ltx_server_refactored.py

Browse files
Files changed (1) hide show
  1. api/ltx_server_refactored.py +1 -6
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 and latentes_bruto_r.shape[2]>poda_latents_num:
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()