anujakkulkarni commited on
Commit
92734fb
·
verified ·
1 Parent(s): e1ba40b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,8 +34,8 @@ def detect_skin_type_from_image(img):
34
 
35
  # ---- Normalize ----
36
  oily_norm = min(oily_score / 0.30, 1.0)
37
- dry_norm = min(texture_score / 7000.0, 1.0)
38
- combo_norm = min(combo_score * 3, 1.0)
39
  normal_norm = max(1.0 - (oily_norm + dry_norm + combo_norm) / 3, 0.0)
40
 
41
  # ---- Percentages ----
 
34
 
35
  # ---- Normalize ----
36
  oily_norm = min(oily_score / 0.30, 1.0)
37
+ dry_norm = min(texture_score / 6000.0, 1.0)
38
+ combo_norm = min(combo_score * 5, 1.0)
39
  normal_norm = max(1.0 - (oily_norm + dry_norm + combo_norm) / 3, 0.0)
40
 
41
  # ---- Percentages ----