Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -314,7 +314,7 @@ def analyze_outfit(input_img):
|
|
| 314 |
category_label = CATEGORY_LABEL_MAP[category_key]
|
| 315 |
|
| 316 |
percentage_score = max(0, final_score * 100)
|
| 317 |
-
percentage_score_str = f"{percentage_score:.0f}%
|
| 318 |
|
| 319 |
# Calculate average probabilities for each category
|
| 320 |
drip_score = np.mean(all_probs[0 : drip_len])
|
|
|
|
| 314 |
category_label = CATEGORY_LABEL_MAP[category_key]
|
| 315 |
|
| 316 |
percentage_score = max(0, final_score * 100)
|
| 317 |
+
percentage_score_str = f"{percentage_score:.0f}%"
|
| 318 |
|
| 319 |
# Calculate average probabilities for each category
|
| 320 |
drip_score = np.mean(all_probs[0 : drip_len])
|