jbilcke-hf HF Staff commited on
Commit
46c2cb1
·
verified ·
1 Parent(s): c168216

Update handler.py

Browse files
Files changed (1) hide show
  1. 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