Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -782,7 +782,7 @@ def get_score_card(value, title, thresholds, colors, labels):
|
|
| 782 |
def get_consistency_card(value):
|
| 783 |
return get_score_card(
|
| 784 |
value=value,
|
| 785 |
-
title="
|
| 786 |
thresholds=[0.1736, 0.3003, 0.5538, 0.6806], # +- 1 or 2 SD
|
| 787 |
colors=["#FF4C4C", "#FFA500", "#FFD700", "#90EE90", "#008000"],
|
| 788 |
labels=["Poor", "Low", "Avg", "Good", "Exc"]
|
|
@@ -792,7 +792,7 @@ def get_consistency_card(value):
|
|
| 792 |
def get_distinctiveness_card(value):
|
| 793 |
return get_score_card(
|
| 794 |
value=value,
|
| 795 |
-
title="
|
| 796 |
thresholds=[0.3937, 0.5000, 0.7125, 0.8187],
|
| 797 |
colors=["#FF4C4C", "#FFA500", "#FFD700", "#90EE90", "#008000"],
|
| 798 |
labels=["Poor", "Low", "Avg", "Good", "Exc"]
|
|
|
|
| 782 |
def get_consistency_card(value):
|
| 783 |
return get_score_card(
|
| 784 |
value=value,
|
| 785 |
+
title="Within-Brand Ad Consistency",
|
| 786 |
thresholds=[0.1736, 0.3003, 0.5538, 0.6806], # +- 1 or 2 SD
|
| 787 |
colors=["#FF4C4C", "#FFA500", "#FFD700", "#90EE90", "#008000"],
|
| 788 |
labels=["Poor", "Low", "Avg", "Good", "Exc"]
|
|
|
|
| 792 |
def get_distinctiveness_card(value):
|
| 793 |
return get_score_card(
|
| 794 |
value=value,
|
| 795 |
+
title="Cross-Brand Ad Uniqueness",
|
| 796 |
thresholds=[0.3937, 0.5000, 0.7125, 0.8187],
|
| 797 |
colors=["#FF4C4C", "#FFA500", "#FFD700", "#90EE90", "#008000"],
|
| 798 |
labels=["Poor", "Low", "Avg", "Good", "Exc"]
|