Update api/ltx_server.py
Browse files- api/ltx_server.py +2 -2
api/ltx_server.py
CHANGED
|
@@ -634,10 +634,10 @@ class VideoService:
|
|
| 634 |
start = (num_latente_por_chunk*i)
|
| 635 |
end = (start+num_latente_por_chunk+overlap)
|
| 636 |
if i+1 < n_chunks:
|
| 637 |
-
chunk = latents_brutos[:, :, start:end, :, :]
|
| 638 |
print(f"[DEBUG] chunk{i+1}[:, :, {start}:{end}, :, :] = {chunk.shape[2]}")
|
| 639 |
else:
|
| 640 |
-
chunk = latents_brutos[:, :, start:, :, :]
|
| 641 |
print(f"[DEBUG] chunk{i+1}[:, :, {start}:, :, :] = {chunk.shape[2]}")
|
| 642 |
chunks.append(chunk)
|
| 643 |
i+=1
|
|
|
|
| 634 |
start = (num_latente_por_chunk*i)
|
| 635 |
end = (start+num_latente_por_chunk+overlap)
|
| 636 |
if i+1 < n_chunks:
|
| 637 |
+
chunk = latents_brutos[:, :, start:end, :, :]
|
| 638 |
print(f"[DEBUG] chunk{i+1}[:, :, {start}:{end}, :, :] = {chunk.shape[2]}")
|
| 639 |
else:
|
| 640 |
+
chunk = latents_brutos[:, :, start:, :, :]
|
| 641 |
print(f"[DEBUG] chunk{i+1}[:, :, {start}:, :, :] = {chunk.shape[2]}")
|
| 642 |
chunks.append(chunk)
|
| 643 |
i+=1
|