Muhammad Taqi Raza
commited on
Commit
·
062d97b
1
Parent(s):
4a9e16e
final changes from vscode
Browse files- controlnet_pipeline.py +0 -1
controlnet_pipeline.py
CHANGED
@@ -21,7 +21,6 @@ from diffusers.image_processor import PipelineImageInput
|
|
21 |
|
22 |
from cogvideo_controlnet_pcd import CogVideoXControlnetPCD as CogVideoXControlnet
|
23 |
|
24 |
-
|
25 |
def resize_for_crop(image, crop_h, crop_w):
|
26 |
img_h, img_w = image.shape[-2:]
|
27 |
if img_h >= crop_h and img_w >= crop_w:
|
|
|
21 |
|
22 |
from cogvideo_controlnet_pcd import CogVideoXControlnetPCD as CogVideoXControlnet
|
23 |
|
|
|
24 |
def resize_for_crop(image, crop_h, crop_w):
|
25 |
img_h, img_w = image.shape[-2:]
|
26 |
if img_h >= crop_h and img_w >= crop_w:
|