Add files via upload

This commit is contained in:
Engineer-of-Stuff 2022-09-09 12:49:42 -06:00 committed by GitHub
parent 2c33261590
commit 0f8cbda3a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 7 deletions

View File

@ -164,8 +164,7 @@
"!apt update\n", "!apt update\n",
"!apt install -y aria2\n", "!apt install -y aria2\n",
"%cd /notebooks/models\n", "%cd /notebooks/models\n",
"!aria2c --seed-time=0 --max-overall-upload-limit=1K \"magnet:?xt=urn:btih:3A4A612D75ED088EA542ACAC52F9F45987488D1C&tr=udp://tracker.opentrackr.org:1337\"\n", "!aria2c --seed-time=0 --max-overall-upload-limit=1K \"magnet:?xt=urn:btih:3A4A612D75ED088EA542ACAC52F9F45987488D1C&tr=udp://tracker.opentrackr.org:1337\""
"!rm /notebooks/models/sd-v1-4.ckpt.aria2"
] ]
}, },
{ {
@ -225,8 +224,7 @@
"!apt update\n", "!apt update\n",
"!apt install -y aria2\n", "!apt install -y aria2\n",
"%cd /notebooks/models\n", "%cd /notebooks/models\n",
"!aria2c --seed-time=0 --max-overall-upload-limit=1K \"magnet:?xt=urn:btih:F45CECF4E9DE86DA83A78DD2CCCD7F27D5557A52&tr=udp://nyquist.localghost.org:6969\"\n", "!aria2c --seed-time=0 --max-overall-upload-limit=1K \"magnet:?xt=urn:btih:F45CECF4E9DE86DA83A78DD2CCCD7F27D5557A52&tr=udp://nyquist.localghost.org:6969\""
"!rm /notebooks/models/wd-v1-2-full-ema.ckpt.aria2"
] ]
}, },
{ {
@ -267,8 +265,7 @@
"!apt update\n", "!apt update\n",
"!apt install -y aria2\n", "!apt install -y aria2\n",
"%cd /notebooks/models\n", "%cd /notebooks/models\n",
"!aria2c --seed-time=0 --max-overall-upload-limit=1K \"magnet:?xt=urn:btih:153590FD7E93EE11D8DB951451056C362E3A9150&dn=wd-v1-2-full-ema-pruned.ckpt&tr=udp://glotorrents.pw:6969/announce&tr=udp://tracker.opentrackr.org:1337/announce&tr=udp://torrent.gresille.org:80/announce&tr=udp://tracker.openbittorrent.com:80&tr=udp://tracker.coppersurfer.tk:6969&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://p4p.arenabg.ch:1337&tr=udp://tracker.internetwarriors.net:1337&tr=wss://tracker.openwebtorrent.com\"\n", "!aria2c --seed-time=0 --max-overall-upload-limit=1K \"magnet:?xt=urn:btih:153590FD7E93EE11D8DB951451056C362E3A9150&dn=wd-v1-2-full-ema-pruned.ckpt&tr=udp://nyquist.localghost.org:6969\""
"!rm /notebooks/models/wd-v1-2-full-ema.ckpt.aria2"
] ]
}, },
{ {
@ -310,7 +307,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"### Restart the Kernel" "### Clean up and restart the kernel"
] ]
}, },
{ {
@ -319,6 +316,8 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"!rm /notebooks/models/*.aria2\n",
"!apt autoremove --purge -y aria2\n",
"import os\n", "import os\n",
"os.kill(os.getpid(), 9)" "os.kill(os.getpid(), 9)"
] ]