Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -332,7 +332,7 @@ def analyze_outfit(input_img):
|
|
| 332 |
# - Mid is worth 2/3 points (~66%)
|
| 333 |
# - Trash is worth 1/3 points (~33%)
|
| 334 |
|
| 335 |
-
final_score = (drip_score * 1.0) + (mid_score * 0.
|
| 336 |
|
| 337 |
# Now map it to a 0–100 scale
|
| 338 |
final_score = final_score * 100
|
|
|
|
| 332 |
# - Mid is worth 2/3 points (~66%)
|
| 333 |
# - Trash is worth 1/3 points (~33%)
|
| 334 |
|
| 335 |
+
final_score = (drip_score * 1.0) + (mid_score * 0.80) + (not_score * 0.5)
|
| 336 |
|
| 337 |
# Now map it to a 0–100 scale
|
| 338 |
final_score = final_score * 100
|