Spaces:
Paused
Paused
Update api/ltx_server_refactored.py
Browse files
api/ltx_server_refactored.py
CHANGED
|
@@ -213,7 +213,7 @@ class VideoService:
|
|
| 213 |
if overlap_condition_item: current_conditions.append(overlap_condition_item)
|
| 214 |
|
| 215 |
chunk_latents = self._generate_single_chunk_low(
|
| 216 |
-
prompt=chunk_prompt, num_frames=current_frames, seed=
|
| 217 |
conditioning_items=current_conditions, **kwargs
|
| 218 |
)
|
| 219 |
if chunk_latents is None: raise RuntimeError(f"Failed to generate latents for scene {i+1}.")
|
|
|
|
| 213 |
if overlap_condition_item: current_conditions.append(overlap_condition_item)
|
| 214 |
|
| 215 |
chunk_latents = self._generate_single_chunk_low(
|
| 216 |
+
prompt=chunk_prompt, num_frames=current_frames, seed=self._get_random_seed(),
|
| 217 |
conditioning_items=current_conditions, **kwargs
|
| 218 |
)
|
| 219 |
if chunk_latents is None: raise RuntimeError(f"Failed to generate latents for scene {i+1}.")
|