Update api/ltx_server.py
Browse files- api/ltx_server.py +1 -3
api/ltx_server.py
CHANGED
|
@@ -647,8 +647,6 @@ class VideoService:
|
|
| 647 |
#lat_a, lat_b = self._dividir_latentes_em_partes(latents_cpu, 2)
|
| 648 |
latents_parts = self._dividir_latentes_em_partes(latents_cpu, 2)
|
| 649 |
|
| 650 |
-
|
| 651 |
-
|
| 652 |
|
| 653 |
temp_dir = tempfile.mkdtemp(prefix="ltxv_"); self._register_tmp_dir(temp_dir)
|
| 654 |
results_dir = "/app/output"; os.makedirs(results_dir, exist_ok=True)
|
|
@@ -679,7 +677,7 @@ class VideoService:
|
|
| 679 |
progress_callback=progress_callback
|
| 680 |
)
|
| 681 |
|
| 682 |
-
candidate = os.path.join(results_dir, f"
|
| 683 |
try:
|
| 684 |
shutil.move(output_video_path, candidate)
|
| 685 |
final_output_path = candidate
|
|
|
|
| 647 |
#lat_a, lat_b = self._dividir_latentes_em_partes(latents_cpu, 2)
|
| 648 |
latents_parts = self._dividir_latentes_em_partes(latents_cpu, 2)
|
| 649 |
|
|
|
|
|
|
|
| 650 |
|
| 651 |
temp_dir = tempfile.mkdtemp(prefix="ltxv_"); self._register_tmp_dir(temp_dir)
|
| 652 |
results_dir = "/app/output"; os.makedirs(results_dir, exist_ok=True)
|
|
|
|
| 677 |
progress_callback=progress_callback
|
| 678 |
)
|
| 679 |
|
| 680 |
+
candidate = os.path.join(results_dir, f"output_par_{par}.mp4")
|
| 681 |
try:
|
| 682 |
shutil.move(output_video_path, candidate)
|
| 683 |
final_output_path = candidate
|