RandomCatLover
commited on
Commit
•
2aac8cd
1
Parent(s):
ac8bc5e
Update app.py
Browse files
app.py
CHANGED
@@ -9,12 +9,7 @@ if os.path.exists('.env'):
|
|
9 |
dest = 'melanoma_detection_model_registry'
|
10 |
if not os.path.exists(dest):
|
11 |
from huggingface_hub import snapshot_download
|
12 |
-
import joblib
|
13 |
|
14 |
-
REPO_ID = "YOUR_REPO_ID"
|
15 |
-
FILENAME = "sklearn_model.joblib"
|
16 |
-
|
17 |
-
print('loading model')
|
18 |
|
19 |
snapshot_download(repo_id='RandomCatLover/melanoma_detection_model_registry', local_dir=dest, local_dir_use_symlinks=False)
|
20 |
|
|
|
9 |
dest = 'melanoma_detection_model_registry'
|
10 |
if not os.path.exists(dest):
|
11 |
from huggingface_hub import snapshot_download
|
|
|
12 |
|
|
|
|
|
|
|
|
|
13 |
|
14 |
snapshot_download(repo_id='RandomCatLover/melanoma_detection_model_registry', local_dir=dest, local_dir_use_symlinks=False)
|
15 |
|