dzmu commited on
Commit
c2e328d
·
verified ·
1 Parent(s): e014da3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -350,7 +350,7 @@ def analyze_outfit(input_img):
350
  final_score = raw_weighted_score * 100
351
 
352
  # Clip it just in case (though it shouldn't exceed 100 now)
353
- final_score = min(max(final_score, 1.1), 100)
354
 
355
  # Now classify the category based on the final_score
356
  if final_score >= 50:
 
350
  final_score = raw_weighted_score * 100
351
 
352
  # Clip it just in case (though it shouldn't exceed 100 now)
353
+ final_score = min(max(final_score, 0), 100)
354
 
355
  # Now classify the category based on the final_score
356
  if final_score >= 50: