Spaces:
Paused
Paused
Update api/ltx_server_refactored.py
Browse files
api/ltx_server_refactored.py
CHANGED
|
@@ -512,8 +512,7 @@ class VideoService:
|
|
| 512 |
# --- FUNÇÃO #4: ORQUESTRADOR (Upscaler + texturas hd) ---
|
| 513 |
# ==============================================================================
|
| 514 |
def generate_upscale_denoise(
|
| 515 |
-
self, latents_path, prompt, negative_prompt,
|
| 516 |
-
guidance_scale:str="4", seed,
|
| 517 |
fp_num_inference_steps:int=30, ship_initial_inference_steps:int=0, ship_final_inference_steps:int=0
|
| 518 |
):
|
| 519 |
used_seed = random.randint(0, 2**32 - 1) if seed is None else int(seed)
|
|
|
|
| 512 |
# --- FUNÇÃO #4: ORQUESTRADOR (Upscaler + texturas hd) ---
|
| 513 |
# ==============================================================================
|
| 514 |
def generate_upscale_denoise(
|
| 515 |
+
self, latents_path, prompt, negative_prompt, seed,
|
|
|
|
| 516 |
fp_num_inference_steps:int=30, ship_initial_inference_steps:int=0, ship_final_inference_steps:int=0
|
| 517 |
):
|
| 518 |
used_seed = random.randint(0, 2**32 - 1) if seed is None else int(seed)
|