Update handler.py
Browse files- handler.py +1 -0
handler.py
CHANGED
@@ -13,6 +13,7 @@ import os
|
|
13 |
import numpy as np
|
14 |
import torch
|
15 |
from diffusers import LTXPipeline, LTXImageToVideoPipeline
|
|
|
16 |
from diffusers.hooks import apply_enhance_a_video, EnhanceAVideoConfig
|
17 |
from PIL import Image
|
18 |
|
|
|
13 |
import numpy as np
|
14 |
import torch
|
15 |
from diffusers import LTXPipeline, LTXImageToVideoPipeline
|
16 |
+
from diffusers.pipelines.teacache_utils import apply_teacache
|
17 |
from diffusers.hooks import apply_enhance_a_video, EnhanceAVideoConfig
|
18 |
from PIL import Image
|
19 |
|