EuuIia commited on
Commit
06d1678
·
verified ·
1 Parent(s): 6a5650a

Update api/ltx_server.py

Browse files
Files changed (1) hide show
  1. api/ltx_server.py +1 -1
api/ltx_server.py CHANGED
@@ -427,7 +427,7 @@ class VideoService:
427
  while i < n_chunks:
428
  start = (num_latente_por_chunk*i)
429
  end = (start+num_latente_por_chunk+overlap)
430
- if i+1 < n_chunks
431
  chunk = latents_brutos[:, :, start:end, :, :].clone().detach()
432
  print(f"[DEBUG] chunk{i+1}[:, :, {start}:{end}, :, :] = {chunk.shape[2]}")
433
  else:
 
427
  while i < n_chunks:
428
  start = (num_latente_por_chunk*i)
429
  end = (start+num_latente_por_chunk+overlap)
430
+ if i+1 < n_chunks:
431
  chunk = latents_brutos[:, :, start:end, :, :].clone().detach()
432
  print(f"[DEBUG] chunk{i+1}[:, :, {start}:{end}, :, :] = {chunk.shape[2]}")
433
  else: