Update engineers/deformes4D.py
Browse files- engineers/deformes4D.py +2 -2
engineers/deformes4D.py
CHANGED
|
@@ -164,7 +164,7 @@ class Deformes4DEngine:
|
|
| 164 |
conditioning_items.append(LatentConditioningItem(eco_latent_for_next_loop, 0, 1.0))
|
| 165 |
conditioning_items.append(LatentConditioningItem(dejavu_latent_for_next_loop, DEJAVU_FRAME_TARGET, handler_strength))
|
| 166 |
|
| 167 |
-
if transition_type == "
|
| 168 |
logger.info(f"Cinematic Director chose a 'cut'. Creating FFmpeg transition bridge...")
|
| 169 |
bridge_duration_seconds = FRAMES_PER_LATENT_CHUNK / FPS
|
| 170 |
bridge_video_path = video_encode_tool_singleton.create_transition_bridge(
|
|
@@ -197,7 +197,7 @@ class Deformes4DEngine:
|
|
| 197 |
latents_video = latents_video[:, :, 1:, :, :]
|
| 198 |
del last_trim, latents_brutos; gc.collect(); torch.cuda.empty_cache()
|
| 199 |
|
| 200 |
-
if transition_type == "
|
| 201 |
eco_latent_for_next_loop, dejavu_latent_for_next_loop = None, None
|
| 202 |
|
| 203 |
|
|
|
|
| 164 |
conditioning_items.append(LatentConditioningItem(eco_latent_for_next_loop, 0, 1.0))
|
| 165 |
conditioning_items.append(LatentConditioningItem(dejavu_latent_for_next_loop, DEJAVU_FRAME_TARGET, handler_strength))
|
| 166 |
|
| 167 |
+
if transition_type == "cutx":
|
| 168 |
logger.info(f"Cinematic Director chose a 'cut'. Creating FFmpeg transition bridge...")
|
| 169 |
bridge_duration_seconds = FRAMES_PER_LATENT_CHUNK / FPS
|
| 170 |
bridge_video_path = video_encode_tool_singleton.create_transition_bridge(
|
|
|
|
| 197 |
latents_video = latents_video[:, :, 1:, :, :]
|
| 198 |
del last_trim, latents_brutos; gc.collect(); torch.cuda.empty_cache()
|
| 199 |
|
| 200 |
+
if transition_type == "cutx":
|
| 201 |
eco_latent_for_next_loop, dejavu_latent_for_next_loop = None, None
|
| 202 |
|
| 203 |
|