Spaces:
Running
Running
Upload notebooks/03_model_training.ipynb with huggingface_hub
Browse files
notebooks/03_model_training.ipynb
CHANGED
|
@@ -51,7 +51,7 @@
|
|
| 51 |
"import joblib\n",
|
| 52 |
"\n",
|
| 53 |
"# Configuration\n",
|
| 54 |
-
"config_path = Path(\"
|
| 55 |
"with open(config_path) as f:\n",
|
| 56 |
" CONFIG = json.load(f)\n",
|
| 57 |
"\n",
|
|
|
|
| 51 |
"import joblib\n",
|
| 52 |
"\n",
|
| 53 |
"# Configuration\n",
|
| 54 |
+
"config_path = Path(\"notebook_config.json\")\nif not config_path.exists():\n config_path = Path(\"/home/user/app/notebooks/notebook_config.json\")\n",
|
| 55 |
"with open(config_path) as f:\n",
|
| 56 |
" CONFIG = json.load(f)\n",
|
| 57 |
"\n",
|