eeuuia commited on
Commit
0d55d7d
·
verified ·
1 Parent(s): 75d0666

Update api/ltx_server_refactored.py

Browse files
Files changed (1) hide show
  1. api/ltx_server_refactored.py +1 -1
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=used_seed + i,
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}.")