Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
•
e451032
1
Parent(s):
bcf7e35
remove old imports
Browse files
app.py
CHANGED
@@ -46,14 +46,6 @@ pipe_pose.enable_model_cpu_offload()
|
|
46 |
# xformers
|
47 |
pipe_pose.enable_xformers_memory_efficient_attention()
|
48 |
|
49 |
-
from pytorch_lightning import seed_everything
|
50 |
-
from util import resize_image, HWC3, apply_canny
|
51 |
-
from ldm.models.diffusion.ddim import DDIMSampler
|
52 |
-
|
53 |
-
from annotator.openpose import apply_openpose
|
54 |
-
|
55 |
-
from cldm.model import create_model, load_state_dict
|
56 |
-
|
57 |
|
58 |
def get_canny_filter(image):
|
59 |
if not isinstance(image, np.ndarray):
|
|
|
46 |
# xformers
|
47 |
pipe_pose.enable_xformers_memory_efficient_attention()
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
def get_canny_filter(image):
|
51 |
if not isinstance(image, np.ndarray):
|