Spaces:
Paused
Paused
Update api/ltx_server_refactored.py
Browse files- api/ltx_server_refactored.py +12 -12
api/ltx_server_refactored.py
CHANGED
|
@@ -299,20 +299,20 @@ class VideoService:
|
|
| 299 |
print(f"\n--- Gerando Chunk Narrativo {i+1}/{num_chunks}: '{prompt}' ---")
|
| 300 |
|
| 301 |
current_image_conditions = []
|
| 302 |
-
if conditions_itens:
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
|
| 312 |
-
if ltx_configs_override is None: ltx_configs_override = {}
|
| 313 |
|
| 314 |
-
eco_current_conditions_list = []
|
| 315 |
-
if current_image_conditions: eco_current_conditions_list.extend(current_image_conditions)
|
| 316 |
#if eco_latents_condition_overlap: eco_current_conditions_list.append(eco_latents_condition_overlap)
|
| 317 |
#ltx_configs_override["conditioning_items"] = current_conditions
|
| 318 |
|
|
|
|
| 299 |
print(f"\n--- Gerando Chunk Narrativo {i+1}/{num_chunks}: '{prompt}' ---")
|
| 300 |
|
| 301 |
current_image_conditions = []
|
| 302 |
+
#if conditions_itens:
|
| 303 |
+
# cond_item_original = conditions_itens[0]
|
| 304 |
+
# if i == 0:
|
| 305 |
+
# current_image_conditions.append(cond_item_original)
|
| 306 |
+
# else:
|
| 307 |
+
# cond_item_fraco = ConditioningItem(
|
| 308 |
+
# media_item=cond_item_original.media_item, media_frame_number=0, conditioning_strength=0.1
|
| 309 |
+
# )
|
| 310 |
+
# current_image_conditions.append(cond_item_fraco)
|
| 311 |
|
| 312 |
+
#if ltx_configs_override is None: ltx_configs_override = {}
|
| 313 |
|
| 314 |
+
#eco_current_conditions_list = []
|
| 315 |
+
#if current_image_conditions: eco_current_conditions_list.extend(current_image_conditions)
|
| 316 |
#if eco_latents_condition_overlap: eco_current_conditions_list.append(eco_latents_condition_overlap)
|
| 317 |
#ltx_configs_override["conditioning_items"] = current_conditions
|
| 318 |
|