TheLastBen
commited on
Commit
•
c441bc1
1
Parent(s):
5a21e7b
Update Scripts/mainpaperspacev1.py
Browse files
Scripts/mainpaperspacev1.py
CHANGED
@@ -47,8 +47,8 @@ def Deps(force_reinstall):
|
|
47 |
os.chdir('/deps')
|
48 |
call('wget -q -i https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/Dependencies/aptdeps.txt', shell=True)
|
49 |
call('dpkg -i *.deb', shell=True, stdout=open('/dev/null', 'w'))
|
50 |
-
call('wget -q https://huggingface.co/TheLastBen/dependencies/resolve/main/
|
51 |
-
call('tar -C / --zstd -xf
|
52 |
call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
|
53 |
os.chdir('/notebooks')
|
54 |
call("git clone --depth 1 -q --branch main https://github.com/TheLastBen/diffusers /diffusers", shell=True, stdout=open('/dev/null', 'w'))
|
|
|
47 |
os.chdir('/deps')
|
48 |
call('wget -q -i https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/Dependencies/aptdeps.txt', shell=True)
|
49 |
call('dpkg -i *.deb', shell=True, stdout=open('/dev/null', 'w'))
|
50 |
+
call('wget -q https://huggingface.co/TheLastBen/dependencies/resolve/main/ppsdeps.tar.zst', shell=True, stdout=open('/dev/null', 'w'))
|
51 |
+
call('tar -C / --zstd -xf ppsdeps.tar.zst', shell=True, stdout=open('/dev/null', 'w'))
|
52 |
call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
|
53 |
os.chdir('/notebooks')
|
54 |
call("git clone --depth 1 -q --branch main https://github.com/TheLastBen/diffusers /diffusers", shell=True, stdout=open('/dev/null', 'w'))
|