Update api/ltx_server_refactored.py
Browse files
api/ltx_server_refactored.py
CHANGED
|
@@ -356,7 +356,7 @@ class VideoService:
|
|
| 356 |
|
| 357 |
print("[INFO] Verificação de GPU dtypes concluída.")
|
| 358 |
|
| 359 |
-
def
|
| 360 |
height: int, width: int, num_frames: int,
|
| 361 |
guidance_scale: float, seed: Optional[int] = None,
|
| 362 |
conditioning_items: Optional[List[ConditioningItem]] = None) -> Tuple[str, str, int]:
|
|
@@ -771,7 +771,7 @@ class VideoService:
|
|
| 771 |
print(f"[DEBUG] Cond shape={tuple(out.shape)} dtype={out.dtype} device={out.device}")
|
| 772 |
return out
|
| 773 |
|
| 774 |
-
def
|
| 775 |
self,
|
| 776 |
prompt: str,
|
| 777 |
negative_prompt: str,
|
|
|
|
| 356 |
|
| 357 |
print("[INFO] Verificação de GPU dtypes concluída.")
|
| 358 |
|
| 359 |
+
def generate_low_resolution1(self, prompt: str, negative_prompt: str,
|
| 360 |
height: int, width: int, num_frames: int,
|
| 361 |
guidance_scale: float, seed: Optional[int] = None,
|
| 362 |
conditioning_items: Optional[List[ConditioningItem]] = None) -> Tuple[str, str, int]:
|
|
|
|
| 771 |
print(f"[DEBUG] Cond shape={tuple(out.shape)} dtype={out.dtype} device={out.device}")
|
| 772 |
return out
|
| 773 |
|
| 774 |
+
def generate_low_resolution(
|
| 775 |
self,
|
| 776 |
prompt: str,
|
| 777 |
negative_prompt: str,
|