Commit
•
398c6d9
1
Parent(s):
ad27cd4
Update Scripts/mainppsComfy_311.py
Browse files
Scripts/mainppsComfy_311.py
CHANGED
@@ -45,7 +45,6 @@ def Deps(force_reinstall):
|
|
45 |
call('dpkg -i *.deb', shell=True, stdout=open('/dev/null', 'w'))
|
46 |
depsinst("https://huggingface.co/TheLastBen/dependencies/resolve/main/ppsdeps_311.tar.zst", "/deps/ppsdeps_311.tar.zst")
|
47 |
call('tar -C / --zstd -xf ppsdeps_311.tar.zst', shell=True, stdout=open('/dev/null', 'w'))
|
48 |
-
call("pip install --root-user-action=ignore -q transformers==4.30.2", shell=True, stdout=open('/dev/null', 'w'))
|
49 |
os.chdir('/notebooks')
|
50 |
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'))
|
51 |
os.environ['TORCH_HOME'] = '/notebooks/cache/torch'
|
|
|
45 |
call('dpkg -i *.deb', shell=True, stdout=open('/dev/null', 'w'))
|
46 |
depsinst("https://huggingface.co/TheLastBen/dependencies/resolve/main/ppsdeps_311.tar.zst", "/deps/ppsdeps_311.tar.zst")
|
47 |
call('tar -C / --zstd -xf ppsdeps_311.tar.zst', shell=True, stdout=open('/dev/null', 'w'))
|
|
|
48 |
os.chdir('/notebooks')
|
49 |
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'))
|
50 |
os.environ['TORCH_HOME'] = '/notebooks/cache/torch'
|