Spaces:
Running
Running
Tuan Tran
commited on
Commit
·
89f3475
1
Parent(s):
25e429e
add config
Browse files- backend/config.py +1 -1
backend/config.py
CHANGED
@@ -226,7 +226,7 @@ def get_dataset_config(dataset_name):
|
|
226 |
if dataset_name in user_dataset.get(modality, []):
|
227 |
cfg = {
|
228 |
"type": modality,
|
229 |
-
"path": os.getenv("OMNISEAL_LEADERBOARD_DATA"),
|
230 |
}
|
231 |
extra_cfg = MODALITY_CONFIG_CONSTANTS.get(cfg["type"], {})
|
232 |
cfg.update(extra_cfg)
|
|
|
226 |
if dataset_name in user_dataset.get(modality, []):
|
227 |
cfg = {
|
228 |
"type": modality,
|
229 |
+
"path": os.getenv("OMNISEAL_LEADERBOARD_DATA", "./data"),
|
230 |
}
|
231 |
extra_cfg = MODALITY_CONFIG_CONSTANTS.get(cfg["type"], {})
|
232 |
cfg.update(extra_cfg)
|