Update controlnet_module.py
Browse files- controlnet_module.py +1 -2
controlnet_module.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import torch
|
| 2 |
-
from diffusers import StableDiffusionControlNetPipeline,
|
| 3 |
-
from torchvision.models.detection import keypointrcnn_resnet50_fpn
|
| 4 |
from controlnet_aux import OpenposeDetector
|
| 5 |
from PIL import Image
|
| 6 |
import random
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from diffusers import StableDiffusionControlNetPipeline, ControlNetModel
|
|
|
|
| 3 |
from controlnet_aux import OpenposeDetector
|
| 4 |
from PIL import Image
|
| 5 |
import random
|