Update handler.py
Browse files- handler.py +1 -4
handler.py
CHANGED
@@ -13,12 +13,9 @@ import os
|
|
13 |
import numpy as np
|
14 |
import torch
|
15 |
|
16 |
-
import monkey
|
17 |
-
monkey.apply_patches()
|
18 |
-
|
19 |
from diffusers import LTXPipeline, LTXImageToVideoPipeline
|
20 |
-
from diffusers.pipelines.teacache_utils import apply_teacache
|
21 |
from diffusers.hooks import apply_enhance_a_video, EnhanceAVideoConfig
|
|
|
22 |
|
23 |
from PIL import Image
|
24 |
|
|
|
13 |
import numpy as np
|
14 |
import torch
|
15 |
|
|
|
|
|
|
|
16 |
from diffusers import LTXPipeline, LTXImageToVideoPipeline
|
|
|
17 |
from diffusers.hooks import apply_enhance_a_video, EnhanceAVideoConfig
|
18 |
+
from teacache import apply_teacache
|
19 |
|
20 |
from PIL import Image
|
21 |
|