Spaces:
Paused
Paused
Bitsage commited on
Commit ·
222a589
1
Parent(s): 85eb7a0
fix: HF Space load cards from dataset with Shadow Score instead of registry API - Revert to load_latest_cards_from_dataset() - Cards now show real Shadow Score from oracle_scanner cron - Not score 0 from observations
Browse files
app.py
CHANGED
|
@@ -122,8 +122,8 @@ def load_latest_cards_from_dataset() -> List[Dict[str, Any]]:
|
|
| 122 |
return FALLBACK_CARDS
|
| 123 |
|
| 124 |
|
| 125 |
-
# Load cards from
|
| 126 |
-
PRELOADED_CARDS =
|
| 127 |
|
| 128 |
NECESSITY_CANON = {
|
| 129 |
"NEC#1": {"name": "Missing data provenance", "severity": 75},
|
|
|
|
| 122 |
return FALLBACK_CARDS
|
| 123 |
|
| 124 |
|
| 125 |
+
# Load cards from dataset (with Shadow Score from oracle_scanner cron)
|
| 126 |
+
PRELOADED_CARDS = load_latest_cards_from_dataset()
|
| 127 |
|
| 128 |
NECESSITY_CANON = {
|
| 129 |
"NEC#1": {"name": "Missing data provenance", "severity": 75},
|