tori29umai commited on
Commit
beb07c5
·
verified ·
1 Parent(s): 251c803

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)