TheLastBen
commited on
Commit
·
b5b31bd
1
Parent(s):
a3e6fe7
Update Scripts/mainpaperspacev2.py
Browse files
Scripts/mainpaperspacev2.py
CHANGED
@@ -50,7 +50,7 @@ def Deps(force_reinstall):
|
|
50 |
call('tar -C / --zstd -xf pps.tar.zst', shell=True, stdout=open('/dev/null', 'w'))
|
51 |
call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
|
52 |
os.chdir('/notebooks')
|
53 |
-
call("git clone --depth 1 -q --branch
|
54 |
if not os.path.exists('/notebooks/diffusers'):
|
55 |
call('ln -s /diffusers /notebooks', shell=True)
|
56 |
call("rm -r /deps", shell=True)
|
|
|
50 |
call('tar -C / --zstd -xf pps.tar.zst', shell=True, stdout=open('/dev/null', 'w'))
|
51 |
call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
|
52 |
os.chdir('/notebooks')
|
53 |
+
call("git clone --depth 1 -q --branch main https://github.com/TheLastBen/diffusers /diffusers", shell=True, stdout=open('/dev/null', 'w'))
|
54 |
if not os.path.exists('/notebooks/diffusers'):
|
55 |
call('ln -s /diffusers /notebooks', shell=True)
|
56 |
call("rm -r /deps", shell=True)
|