Eueuiaa commited on
Commit
a281339
·
verified ·
1 Parent(s): ee5462b

Update api/ltx_server.py

Browse files
Files changed (1) hide show
  1. api/ltx_server.py +1 -1
api/ltx_server.py CHANGED
@@ -583,7 +583,7 @@ class VideoService:
583
  else:
584
  dow=0
585
  start = (num_latente_por_chunk*i)
586
- end = (start+num_latente_por_chunk+(overlap+1))
587
  if i+1 < n_chunks:
588
  chunk = latents_brutos[:, :, start-(dow):end, :, :].clone().detach()
589
  print(f"[DEBUG] chunk{i+1}[:, :, {start-dow}:{end}, :, :] = {chunk.shape[2]}")
 
583
  else:
584
  dow=0
585
  start = (num_latente_por_chunk*i)
586
+ end = (start+num_latente_por_chunk+(overlap))
587
  if i+1 < n_chunks:
588
  chunk = latents_brutos[:, :, start-(dow):end, :, :].clone().detach()
589
  print(f"[DEBUG] chunk{i+1}[:, :, {start-dow}:{end}, :, :] = {chunk.shape[2]}")