Spaces:
Sleeping
Sleeping
perform hf login
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from huggingface_hub import login
|
|
8 |
import os
|
9 |
import PIL
|
10 |
|
11 |
-
|
12 |
|
13 |
read_key = os.environ.get('HF_TOKEN', True)
|
14 |
extractor_path = hf_hub_download(repo_id="crossprism/efficientnetv221k-M", filename="efficientnetV2M21kExtractor.mlmodel", use_auth_token = read_key)
|
|
|
8 |
import os
|
9 |
import PIL
|
10 |
|
11 |
+
login()
|
12 |
|
13 |
read_key = os.environ.get('HF_TOKEN', True)
|
14 |
extractor_path = hf_hub_download(repo_id="crossprism/efficientnetv221k-M", filename="efficientnetV2M21kExtractor.mlmodel", use_auth_token = read_key)
|