TheLastBen
commited on
Commit
•
ad27cd4
1
Parent(s):
8389bb3
Update Scripts/sdxllorapps_311.py
Browse files
Scripts/sdxllorapps_311.py
CHANGED
@@ -61,6 +61,7 @@ def Deps(force_reinstall):
|
|
61 |
call('dpkg -i *.deb', shell=True, stdout=open('/dev/null', 'w'))
|
62 |
depsinst("https://huggingface.co/TheLastBen/dependencies/resolve/main/ppsdeps_311.tar.zst", "/deps/ppsdeps_311.tar.zst")
|
63 |
call('tar -C / --zstd -xf ppsdeps_311.tar.zst', shell=True, stdout=open('/dev/null', 'w'))
|
|
|
64 |
os.chdir('/notebooks')
|
65 |
call('pip install --root-user-action=ignore --disable-pip-version-check -qq diffusers==0.18.1', shell=True, stdout=open('/dev/null', 'w'))
|
66 |
call("git clone --depth 1 -q --branch main https://github.com/TheLastBen/diffusers /diffusers", shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
|
|
|
61 |
call('dpkg -i *.deb', shell=True, stdout=open('/dev/null', 'w'))
|
62 |
depsinst("https://huggingface.co/TheLastBen/dependencies/resolve/main/ppsdeps_311.tar.zst", "/deps/ppsdeps_311.tar.zst")
|
63 |
call('tar -C / --zstd -xf ppsdeps_311.tar.zst', shell=True, stdout=open('/dev/null', 'w'))
|
64 |
+
call("pip install --root-user-action=ignore -q transformers==4.30.2", shell=True, stdout=open('/dev/null', 'w'))
|
65 |
os.chdir('/notebooks')
|
66 |
call('pip install --root-user-action=ignore --disable-pip-version-check -qq diffusers==0.18.1', shell=True, stdout=open('/dev/null', 'w'))
|
67 |
call("git clone --depth 1 -q --branch main https://github.com/TheLastBen/diffusers /diffusers", shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
|