Spaces:
Sleeping
Sleeping
Commit ·
1cfbe6f
1
Parent(s): 8605269
Default HF repo id for Space startup
Browse files- server/config.py +1 -1
server/config.py
CHANGED
|
@@ -70,7 +70,7 @@ if STORAGE_MODE != HF_STORAGE_LABEL:
|
|
| 70 |
)
|
| 71 |
|
| 72 |
HF_TOKEN = _optional_env("HF_TOKEN") or _optional_env("HUGGING_FACE_HUB_TOKEN") or _optional_env("HF_API_TOKEN")
|
| 73 |
-
HF_REPO_ID =
|
| 74 |
HF_REPO_TYPE = _required_env("HF_REPO_TYPE", "dataset")
|
| 75 |
if HF_REPO_TYPE not in {"dataset", "model", "space"}:
|
| 76 |
raise RuntimeError(
|
|
|
|
| 70 |
)
|
| 71 |
|
| 72 |
HF_TOKEN = _optional_env("HF_TOKEN") or _optional_env("HUGGING_FACE_HUB_TOKEN") or _optional_env("HF_API_TOKEN")
|
| 73 |
+
HF_REPO_ID = _optional_env("HF_REPO_ID", "mohsin-devs/docvault-storage")
|
| 74 |
HF_REPO_TYPE = _required_env("HF_REPO_TYPE", "dataset")
|
| 75 |
if HF_REPO_TYPE not in {"dataset", "model", "space"}:
|
| 76 |
raise RuntimeError(
|