Skip to content

Commit

Permalink
chore(notebook): copy config files from Google Drive (#1064)
Browse files Browse the repository at this point in the history
* Added 'import' for configs files

Changes:
- Added "import" for configs files
- Changed "clone" to export for configs files

* fixed typo with a "," or comma

* chore(pre-commit.ci): auto fixes

* Added backing up when importing and exporting

Added backing up when importing and exporting because maybe you accidentally override the config.json when importing/exporting. Just in case

* chore(pre-commit.ci): auto fixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
Onako2 and pre-commit-ci[bot] authored Jan 25, 2024
1 parent 369332a commit adefc77
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions notebooks/so-vits-svc-fork-4.0.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,18 @@
"metadata": {},
"outputs": [],
"source": [
"#@title Copy configs file\n",
"!cp configs/44k/config.json drive/MyDrive/so-vits-svc-fork"
"#@title Export configs file\n",
"#@markdown This assumes that you want to save the **config.json** on the default location. There will be also a backup file created in case the action is done accidentally.!cp configs/44k/config.json configs/44k/config.bkp.json!cp drive/MyDrive/so-vits-svc-fork/config.json configs/44k"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#@title Import configs file (Optional Step, NOT REQUIRED)\n",
"#@markdown This assumes that you are saving the **config.json** on the default location. There will be also a backup file created in case the action is done accidentally.!cp drive/MyDrive/so-vits-svc-fork/config.json drive/MyDrive/so-vits-svc-fork/config.bkp.json!cp configs/44k/config.json drive/MyDrive/so-vits-svc-fork"
]
},
{
Expand Down

0 comments on commit adefc77

Please sign in to comment.