Spaces:
Sleeping
Sleeping
Update faceless_processing.py
Browse files- faceless_processing.py +3 -3
faceless_processing.py
CHANGED
|
@@ -135,13 +135,13 @@ class LineartConfig:
|
|
| 135 |
# --- Neural line-art parameters ---
|
| 136 |
lineart_detect_resolution: int = 1024
|
| 137 |
lineart_image_resolution: int = 1024
|
| 138 |
-
lineart_coarse: bool = True
|
| 139 |
|
| 140 |
# AUMENTADO: For莽a a ignorar dobras de roupa e focar s贸 na estrutura
|
| 141 |
lineart_threshold: int = 100
|
| 142 |
|
| 143 |
# AJUSTE DE CABELO E CORPO: Diminu铆do para capturar fios e dobras de roupa.
|
| 144 |
-
lineart_min_perimeter: float =
|
| 145 |
|
| 146 |
# Diminu铆do para manter os tra莽os mais pr贸ximos da borda.
|
| 147 |
interior_erode_size: int = 1
|
|
@@ -196,7 +196,7 @@ class LineartConfig:
|
|
| 196 |
# Face shape
|
| 197 |
draw_face_oval: bool = True
|
| 198 |
face_oval_thickness: int = 1
|
| 199 |
-
face_oval_skip_top_ratio: float = 0.
|
| 200 |
|
| 201 |
|
| 202 |
|
|
|
|
| 135 |
# --- Neural line-art parameters ---
|
| 136 |
lineart_detect_resolution: int = 1024
|
| 137 |
lineart_image_resolution: int = 1024
|
| 138 |
+
lineart_coarse: bool = True
|
| 139 |
|
| 140 |
# AUMENTADO: For莽a a ignorar dobras de roupa e focar s贸 na estrutura
|
| 141 |
lineart_threshold: int = 100
|
| 142 |
|
| 143 |
# AJUSTE DE CABELO E CORPO: Diminu铆do para capturar fios e dobras de roupa.
|
| 144 |
+
lineart_min_perimeter: float = 40.0
|
| 145 |
|
| 146 |
# Diminu铆do para manter os tra莽os mais pr贸ximos da borda.
|
| 147 |
interior_erode_size: int = 1
|
|
|
|
| 196 |
# Face shape
|
| 197 |
draw_face_oval: bool = True
|
| 198 |
face_oval_thickness: int = 1
|
| 199 |
+
face_oval_skip_top_ratio: float = 0.50
|
| 200 |
|
| 201 |
|
| 202 |
|