Che237 commited on
Commit
abbb71b
·
verified ·
1 Parent(s): 6216850

Upload notebooks/03_model_training.ipynb with huggingface_hub

Browse files
Files changed (1) hide show
  1. notebooks/03_model_training.ipynb +1 -1
notebooks/03_model_training.ipynb CHANGED
@@ -51,7 +51,7 @@
51
  "import joblib\n",
52
  "\n",
53
  "# Configuration\n",
54
- "config_path = Path(\"../notebook_config.json\")\n",
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",