Daniel Kantor
commited on
Commit
·
05677ce
1
Parent(s):
5796fb3
get hf organization from env var
Browse files
backend/app/config/hf_config.py
CHANGED
@@ -8,7 +8,7 @@ from app.core.cache import cache_config
|
|
8 |
logger = logging.getLogger(__name__)
|
9 |
|
10 |
# Organization or user who owns the datasets
|
11 |
-
HF_ORGANIZATION = "
|
12 |
|
13 |
# Get HF token directly from environment
|
14 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
@@ -27,4 +27,4 @@ OFFICIAL_PROVIDERS_REPO = f"{HF_ORGANIZATION}/official-providers"
|
|
27 |
# File paths from cache config
|
28 |
VOTES_PATH = cache_config.votes_file
|
29 |
EVAL_REQUESTS_PATH = cache_config.eval_requests_file
|
30 |
-
MODEL_CACHE_DIR = cache_config.models_cache
|
|
|
8 |
logger = logging.getLogger(__name__)
|
9 |
|
10 |
# Organization or user who owns the datasets
|
11 |
+
HF_ORGANIZATION = os.environ.get("HF_ORGANIZATION")
|
12 |
|
13 |
# Get HF token directly from environment
|
14 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
|
|
27 |
# File paths from cache config
|
28 |
VOTES_PATH = cache_config.votes_file
|
29 |
EVAL_REQUESTS_PATH = cache_config.eval_requests_file
|
30 |
+
MODEL_CACHE_DIR = cache_config.models_cache
|