Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
05c5e08
1
Parent(s):
7df73a4
Set back to main organization
Browse files
backend/app/config/base.py
CHANGED
|
@@ -20,8 +20,7 @@ HAS_HIGHER_RATE_LIMIT = []
|
|
| 20 |
|
| 21 |
# HuggingFace configuration
|
| 22 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
| 23 |
-
|
| 24 |
-
HF_ORGANIZATION = "rtetley"
|
| 25 |
API = {
|
| 26 |
"INFERENCE": "https://api-inference.huggingface.co/models",
|
| 27 |
"HUB": "https://huggingface.co"
|
|
|
|
| 20 |
|
| 21 |
# HuggingFace configuration
|
| 22 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
| 23 |
+
HF_ORGANIZATION = "fr-gouv-coordination-ia"
|
|
|
|
| 24 |
API = {
|
| 25 |
"INFERENCE": "https://api-inference.huggingface.co/models",
|
| 26 |
"HUB": "https://huggingface.co"
|
backend/app/config/hf_config.py
CHANGED
|
@@ -8,8 +8,7 @@ from app.core.cache import cache_config
|
|
| 8 |
logger = logging.getLogger(__name__)
|
| 9 |
|
| 10 |
# Organization or user who owns the datasets
|
| 11 |
-
|
| 12 |
-
HF_ORGANIZATION = "rtetley"
|
| 13 |
|
| 14 |
# Get HF token directly from environment
|
| 15 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
|
|
|
| 8 |
logger = logging.getLogger(__name__)
|
| 9 |
|
| 10 |
# Organization or user who owns the datasets
|
| 11 |
+
HF_ORGANIZATION = "fr-gouv-coordination-ia"
|
|
|
|
| 12 |
|
| 13 |
# Get HF token directly from environment
|
| 14 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|