Commit
•
5a21e7b
1
Parent(s):
3646e2b
Update Scripts/mainpaperspaceA1111.py
Browse files
Scripts/mainpaperspaceA1111.py
CHANGED
@@ -36,8 +36,8 @@ def Deps(force_reinstall):
|
|
36 |
os.chdir('/deps')
|
37 |
call('wget -q -i https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/Dependencies/aptdeps.txt', shell=True)
|
38 |
call('dpkg -i *.deb', shell=True, stdout=open('/dev/null', 'w'))
|
39 |
-
call('wget -q https://huggingface.co/TheLastBen/dependencies/resolve/main/
|
40 |
-
call('tar -C / --zstd -xf
|
41 |
call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
|
42 |
os.chdir('/notebooks')
|
43 |
call("git clone --depth 1 -q --branch main https://github.com/TheLastBen/diffusers /diffusers", shell=True, stdout=open('/dev/null', 'w'))
|
|
|
36 |
os.chdir('/deps')
|
37 |
call('wget -q -i https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/Dependencies/aptdeps.txt', shell=True)
|
38 |
call('dpkg -i *.deb', shell=True, stdout=open('/dev/null', 'w'))
|
39 |
+
call('wget -q https://huggingface.co/TheLastBen/dependencies/resolve/main/ppsdeps.tar.zst', shell=True, stdout=open('/dev/null', 'w'))
|
40 |
+
call('tar -C / --zstd -xf ppsdeps.tar.zst', shell=True, stdout=open('/dev/null', 'w'))
|
41 |
call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
|
42 |
os.chdir('/notebooks')
|
43 |
call("git clone --depth 1 -q --branch main https://github.com/TheLastBen/diffusers /diffusers", shell=True, stdout=open('/dev/null', 'w'))
|