Update app.py
Browse files
app.py
CHANGED
|
@@ -63,8 +63,8 @@ def run_generate_base_video(
|
|
| 63 |
height=height, width=width, duration=duration,
|
| 64 |
guidance_scale=cfg, seed=used_seed,
|
| 65 |
initial_image_conditions=initial_image_conditions,
|
| 66 |
-
fp_num_inference_steps, ship_initial_inference_steps, ship_final_inference_steps,
|
| 67 |
-
ltx_configs_override=ltx_configs
|
| 68 |
)
|
| 69 |
else: # Modo "Simples (Prompt Único)"
|
| 70 |
video_path, tensor_path, final_seed = video_generation_service.generate_single_low(
|
|
@@ -72,8 +72,8 @@ def run_generate_base_video(
|
|
| 72 |
height=height, width=width, duration=duration,
|
| 73 |
guidance_scale=cfg, seed=used_seed,
|
| 74 |
initial_image_conditions=initial_image_conditions,
|
| 75 |
-
fp_num_inference_steps, ship_initial_inference_steps, ship_final_inference_steps,
|
| 76 |
-
ltx_configs_override=ltx_configs
|
| 77 |
)
|
| 78 |
|
| 79 |
new_state = {"low_res_video": video_path, "low_res_latents": tensor_path, "used_seed": final_seed}
|
|
|
|
| 63 |
height=height, width=width, duration=duration,
|
| 64 |
guidance_scale=cfg, seed=used_seed,
|
| 65 |
initial_image_conditions=initial_image_conditions,
|
| 66 |
+
fp_num_inference_steps=fp_num_inference_steps, ship_initial_inference_steps=ship_initial_inference_steps, ship_final_inference_steps=ship_final_inference_steps,
|
| 67 |
+
ltx_configs_override=ltx_configs,
|
| 68 |
)
|
| 69 |
else: # Modo "Simples (Prompt Único)"
|
| 70 |
video_path, tensor_path, final_seed = video_generation_service.generate_single_low(
|
|
|
|
| 72 |
height=height, width=width, duration=duration,
|
| 73 |
guidance_scale=cfg, seed=used_seed,
|
| 74 |
initial_image_conditions=initial_image_conditions,
|
| 75 |
+
fp_num_inference_steps=fp_num_inference_steps, ship_initial_inference_steps=ship_initial_inference_steps, ship_final_inference_steps=ship_final_inference_steps,
|
| 76 |
+
ltx_configs_override=ltx_configs,
|
| 77 |
)
|
| 78 |
|
| 79 |
new_state = {"low_res_video": video_path, "low_res_latents": tensor_path, "used_seed": final_seed}
|