Che237 commited on
Commit
9cd4323
·
verified ·
1 Parent(s): be00dfc

Upload notebooks/07_deployment_artifacts.ipynb with huggingface_hub

Browse files
notebooks/07_deployment_artifacts.ipynb CHANGED
@@ -38,7 +38,7 @@
38
  "warnings.filterwarnings('ignore')\n",
39
  "\n",
40
  "# Configuration\n",
41
- "config_path = Path(\"../notebook_config.json\")\n",
42
  "with open(config_path) as f:\n",
43
  " CONFIG = json.load(f)\n",
44
  "\n",
 
38
  "warnings.filterwarnings('ignore')\n",
39
  "\n",
40
  "# Configuration\n",
41
+ "config_path = Path(\"notebook_config.json\")\nif not config_path.exists():\n config_path = Path(\"/home/user/app/notebooks/notebook_config.json\")\n",
42
  "with open(config_path) as f:\n",
43
  " CONFIG = json.load(f)\n",
44
  "\n",