From 0f8cbda3a1820dfdafb58c9d30c6d349ff37b0ab Mon Sep 17 00:00:00 2001 From: Engineer-of-Stuff Date: Fri, 9 Sep 2022 12:49:42 -0600 Subject: [PATCH] Add files via upload --- StableDiffusionUI_Voldemort_paperspace.ipynb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/StableDiffusionUI_Voldemort_paperspace.ipynb b/StableDiffusionUI_Voldemort_paperspace.ipynb index 3a898e6..01f5e5a 100644 --- a/StableDiffusionUI_Voldemort_paperspace.ipynb +++ b/StableDiffusionUI_Voldemort_paperspace.ipynb @@ -164,8 +164,7 @@ "!apt update\n", "!apt install -y aria2\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", - "!rm /notebooks/models/sd-v1-4.ckpt.aria2" + "!aria2c --seed-time=0 --max-overall-upload-limit=1K \"magnet:?xt=urn:btih:3A4A612D75ED088EA542ACAC52F9F45987488D1C&tr=udp://tracker.opentrackr.org:1337\"" ] }, { @@ -225,8 +224,7 @@ "!apt update\n", "!apt install -y aria2\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", - "!rm /notebooks/models/wd-v1-2-full-ema.ckpt.aria2" + "!aria2c --seed-time=0 --max-overall-upload-limit=1K \"magnet:?xt=urn:btih:F45CECF4E9DE86DA83A78DD2CCCD7F27D5557A52&tr=udp://nyquist.localghost.org:6969\"" ] }, { @@ -267,8 +265,7 @@ "!apt update\n", "!apt install -y aria2\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", - "!rm /notebooks/models/wd-v1-2-full-ema.ckpt.aria2" + "!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\"" ] }, { @@ -310,7 +307,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Restart the Kernel" + "### Clean up and restart the kernel" ] }, { @@ -319,6 +316,8 @@ "metadata": {}, "outputs": [], "source": [ + "!rm /notebooks/models/*.aria2\n", + "!apt autoremove --purge -y aria2\n", "import os\n", "os.kill(os.getpid(), 9)" ]