Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -439,7 +439,7 @@ def infer(
|
|
| 439 |
|
| 440 |
# --- 顔中心になるようトリミング&リサイズ (1024x1024) ---
|
| 441 |
face_pil = preprocess_face(face_pil, target_size=1024)
|
| 442 |
-
hair_pil = preprocess_face(hair_pil, target_size=1024)
|
| 443 |
|
| 444 |
# --- Hair 画像にのみ顔部分ブラーを適用 ---
|
| 445 |
hair_pil = blur_face_with_landmarks(hair_pil)
|
|
|
|
| 439 |
|
| 440 |
# --- 顔中心になるようトリミング&リサイズ (1024x1024) ---
|
| 441 |
face_pil = preprocess_face(face_pil, target_size=1024)
|
| 442 |
+
#hair_pil = preprocess_face(hair_pil, target_size=1024)
|
| 443 |
|
| 444 |
# --- Hair 画像にのみ顔部分ブラーを適用 ---
|
| 445 |
hair_pil = blur_face_with_landmarks(hair_pil)
|