Commit
·
cab9284
1
Parent(s):
5af6b6d
load img from urls
Browse files- .DS_Store +0 -0
- handler.py +2 -2
.DS_Store
CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
|
|
handler.py
CHANGED
@@ -171,8 +171,8 @@ class EndpointHandler():
|
|
171 |
depth_strength = 0.5
|
172 |
controlnet_selection = ["pose", "canny", "depth"]
|
173 |
|
174 |
-
face_image_path = "
|
175 |
-
pose_image_path = "
|
176 |
|
177 |
def convert_from_cv2_to_image(img: np.ndarray) -> Image:
|
178 |
return Image.fromarray(cv2.cvtColor(img, cv2.COLOR_BGR2RGB))
|
|
|
171 |
depth_strength = 0.5
|
172 |
controlnet_selection = ["pose", "canny", "depth"]
|
173 |
|
174 |
+
face_image_path = "https://i.ibb.co/SKg69dD/kaifu-resize.png"
|
175 |
+
pose_image_path = "https://i.ibb.co/ZSrQ8ZJ/pose.jpg"
|
176 |
|
177 |
def convert_from_cv2_to_image(img: np.ndarray) -> Image:
|
178 |
return Image.fromarray(cv2.cvtColor(img, cv2.COLOR_BGR2RGB))
|