Spaces:
Sleeping
Sleeping
Update faceless_processing.py
Browse files- faceless_processing.py +4 -2
faceless_processing.py
CHANGED
|
@@ -133,8 +133,8 @@ class LineartConfig:
|
|
| 133 |
silhouette_line_thickness: int = 3
|
| 134 |
|
| 135 |
# --- Neural line-art parameters ---
|
| 136 |
-
lineart_detect_resolution: int =
|
| 137 |
-
lineart_image_resolution: int =
|
| 138 |
lineart_coarse: bool = True
|
| 139 |
|
| 140 |
# AUMENTADO: For莽a a ignorar dobras de roupa e focar s贸 na estrutura
|
|
@@ -201,6 +201,8 @@ class LineartConfig:
|
|
| 201 |
|
| 202 |
|
| 203 |
|
|
|
|
|
|
|
| 204 |
def _nms_faces(faces: list, iou_thresh: float) -> list:
|
| 205 |
if not faces:
|
| 206 |
return []
|
|
|
|
| 133 |
silhouette_line_thickness: int = 3
|
| 134 |
|
| 135 |
# --- Neural line-art parameters ---
|
| 136 |
+
lineart_detect_resolution: int = 2048
|
| 137 |
+
lineart_image_resolution: int = 2048
|
| 138 |
lineart_coarse: bool = True
|
| 139 |
|
| 140 |
# AUMENTADO: For莽a a ignorar dobras de roupa e focar s贸 na estrutura
|
|
|
|
| 201 |
|
| 202 |
|
| 203 |
|
| 204 |
+
|
| 205 |
+
|
| 206 |
def _nms_faces(faces: list, iou_thresh: float) -> list:
|
| 207 |
if not faces:
|
| 208 |
return []
|