Spaces:
Build error
Build error
Commit
·
e9c4a35
1
Parent(s):
20c5624
get weights from hf model card
Browse files
app.py
CHANGED
@@ -12,9 +12,7 @@ os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
|
|
12 |
tb._SYMBOLIC_SCOPE.value = True
|
13 |
|
14 |
# Get model weights
|
15 |
-
os.system(
|
16 |
-
"wget https://github.com/hasibzunair/adversarial-lesions/releases/latest/download/MelaNet.h5"
|
17 |
-
)
|
18 |
|
19 |
# Load model
|
20 |
model = None
|
|
|
12 |
tb._SYMBOLIC_SCOPE.value = True
|
13 |
|
14 |
# Get model weights
|
15 |
+
os.system("https://huggingface.co/hasibzunair/melanet/blob/main/MelaNet.h5")
|
|
|
|
|
16 |
|
17 |
# Load model
|
18 |
model = None
|