Commit
•
5f47c2b
1
Parent(s):
3b6f48d
Update handler.py
Browse files- handler.py +3 -2
handler.py
CHANGED
@@ -14,6 +14,9 @@ import logging
|
|
14 |
logging.basicConfig(level=logging.INFO)
|
15 |
logger = logging.getLogger(__name__)
|
16 |
|
|
|
|
|
|
|
17 |
class EndpointHandler:
|
18 |
# Default configuration
|
19 |
DEFAULT_FPS = 24
|
@@ -28,8 +31,6 @@ class EndpointHandler:
|
|
28 |
MAX_HEIGHT = 720
|
29 |
MAX_FRAMES = 257
|
30 |
|
31 |
-
ENABLE_CPU_OFFLOAD = True
|
32 |
-
EXPERIMENTAL_STUFF = False
|
33 |
|
34 |
def __init__(self, path: str = ""):
|
35 |
"""Initialize the LTX Video handler with both text-to-video and image-to-video pipelines.
|
|
|
14 |
logging.basicConfig(level=logging.INFO)
|
15 |
logger = logging.getLogger(__name__)
|
16 |
|
17 |
+
ENABLE_CPU_OFFLOAD = False
|
18 |
+
EXPERIMENTAL_STUFF = False
|
19 |
+
|
20 |
class EndpointHandler:
|
21 |
# Default configuration
|
22 |
DEFAULT_FPS = 24
|
|
|
31 |
MAX_HEIGHT = 720
|
32 |
MAX_FRAMES = 257
|
33 |
|
|
|
|
|
34 |
|
35 |
def __init__(self, path: str = ""):
|
36 |
"""Initialize the LTX Video handler with both text-to-video and image-to-video pipelines.
|