Spaces:
Running
Running
Commit
·
b6ccb70
1
Parent(s):
647cdef
Update scripts/mainrunpodA1111.py
Browse files
scripts/mainrunpodA1111.py
CHANGED
@@ -39,8 +39,8 @@ def Deps(force_reinstall):
|
|
39 |
if not os.path.exists('cache'):
|
40 |
call('mkdir cache', shell=True)
|
41 |
os.chdir('deps')
|
42 |
-
dwn("https://huggingface.co/
|
43 |
-
call('tar -C / --zstd -xf
|
44 |
call("sed -i 's@~/.cache@/workspace/cache@' /usr/local/lib/python3.10/dist-packages/transformers/utils/hub.py", shell=True)
|
45 |
os.chdir('/workspace')
|
46 |
call("git clone --depth 1 -q --branch main https://github.com/TheLastBen/diffusers", shell=True, stdout=open('/dev/null', 'w'))
|
|
|
39 |
if not os.path.exists('cache'):
|
40 |
call('mkdir cache', shell=True)
|
41 |
os.chdir('deps')
|
42 |
+
dwn("https://huggingface.co/ibadoo/dependencies/resolve/04600fafd94ed3ceabb078d90730e72854d02059/rnpddeps-t2.tar.zst", "/workspace/deps/rnpd-310.tar.zst", "Installing dependencies")
|
43 |
+
call('tar -C / --zstd -xf rnpddeps-t2.tar.zst', shell=True, stdout=open('/dev/null', 'w'))
|
44 |
call("sed -i 's@~/.cache@/workspace/cache@' /usr/local/lib/python3.10/dist-packages/transformers/utils/hub.py", shell=True)
|
45 |
os.chdir('/workspace')
|
46 |
call("git clone --depth 1 -q --branch main https://github.com/TheLastBen/diffusers", shell=True, stdout=open('/dev/null', 'w'))
|