Spaces:
Sleeping
Sleeping
feat(frontend): update next dependency version to 15.3.6 to fix CVE-2025-66478
Browse files- api/alzheimers.py +1 -1
- api/disease.py +1 -1
- api/pneumonia.py +1 -1
- api/tumor.py +1 -1
api/alzheimers.py
CHANGED
|
@@ -20,7 +20,7 @@ CLASS_LABELS = [
|
|
| 20 |
@lru_cache(maxsize=1)
|
| 21 |
def load_model():
|
| 22 |
model_path = hf_hub_download(
|
| 23 |
-
repo_id="
|
| 24 |
filename="models/alzheimers.h5",
|
| 25 |
repo_type="dataset"
|
| 26 |
)
|
|
|
|
| 20 |
@lru_cache(maxsize=1)
|
| 21 |
def load_model():
|
| 22 |
model_path = hf_hub_download(
|
| 23 |
+
repo_id="arghyaxcodes/test-store",
|
| 24 |
filename="models/alzheimers.h5",
|
| 25 |
repo_type="dataset"
|
| 26 |
)
|
api/disease.py
CHANGED
|
@@ -11,7 +11,7 @@ from huggingface_hub import hf_hub_download
|
|
| 11 |
router = APIRouter()
|
| 12 |
|
| 13 |
# HF Repo
|
| 14 |
-
REPO_ID = "
|
| 15 |
REPO_TYPE = "dataset"
|
| 16 |
|
| 17 |
# Download files from Hugging Face
|
|
|
|
| 11 |
router = APIRouter()
|
| 12 |
|
| 13 |
# HF Repo
|
| 14 |
+
REPO_ID = "arghyaxcodes/test-store"
|
| 15 |
REPO_TYPE = "dataset"
|
| 16 |
|
| 17 |
# Download files from Hugging Face
|
api/pneumonia.py
CHANGED
|
@@ -25,7 +25,7 @@ transform = T.Compose(
|
|
| 25 |
)
|
| 26 |
|
| 27 |
model_path = hf_hub_download(
|
| 28 |
-
repo_id="
|
| 29 |
filename="models/pneumonia.pt",
|
| 30 |
repo_type="dataset"
|
| 31 |
)
|
|
|
|
| 25 |
)
|
| 26 |
|
| 27 |
model_path = hf_hub_download(
|
| 28 |
+
repo_id="arghyaxcodes/test-store",
|
| 29 |
filename="models/pneumonia.pt",
|
| 30 |
repo_type="dataset"
|
| 31 |
)
|
api/tumor.py
CHANGED
|
@@ -16,7 +16,7 @@ CLASS_LABELS = ["glioma", "meningioma", "no_tumor", "pituitary"]
|
|
| 16 |
@lru_cache(maxsize=1)
|
| 17 |
def load_model():
|
| 18 |
model_dir = snapshot_download(
|
| 19 |
-
repo_id="
|
| 20 |
repo_type="dataset",
|
| 21 |
allow_patterns=["models/tumor_effnet/*"],
|
| 22 |
local_dir="hf_cache/tumor_effnet",
|
|
|
|
| 16 |
@lru_cache(maxsize=1)
|
| 17 |
def load_model():
|
| 18 |
model_dir = snapshot_download(
|
| 19 |
+
repo_id="arghyaxcodes/test-store",
|
| 20 |
repo_type="dataset",
|
| 21 |
allow_patterns=["models/tumor_effnet/*"],
|
| 22 |
local_dir="hf_cache/tumor_effnet",
|