Skip to content

Commit

Permalink
fix: renew token
Browse files Browse the repository at this point in the history
  • Loading branch information
Linaqruf committed Dec 21, 2022
1 parent b6d90fa commit f90b188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kohya-trainer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/Linaqruf/kohya-trainer/blob/experimental/kohya-trainer.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
"<a href=\"https://colab.research.google.com/github/Linaqruf/kohya-trainer/blob/main/kohya-trainer.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
Expand Down Expand Up @@ -758,7 +758,7 @@
" # Use aria2c to download file from magnet link\n",
" !aria2c --summary-interval=10 -c -x 10 -k 1M -s 10 -o /content/kohya-trainer/checkpoint/{checkpoint_name}.ckpt \"{url}\"\n",
" else:\n",
" user_token = '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'\n",
" user_token = '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'\n",
" user_header = f\"\\\"Authorization: Bearer {user_token}\\\"\"\n",
" # Use wget to download file from URL\n",
" !wget -c --header={user_header} \"{url}\" -O /content/kohya-trainer/checkpoint/{checkpoint_name}.ckpt\n",
Expand Down

0 comments on commit f90b188

Please sign in to comment.