TheLastBen commited on
Commit
fc0e984
1 Parent(s): c567133

Upload 3 files

Browse files
Scripts/mainpaperspaceA1111.py CHANGED
@@ -97,7 +97,7 @@ def repo():
97
 
98
  print('Installing/Updating the repo...')
99
  os.chdir('/notebooks')
100
- if not os.path.exists('/notebooks/sd/stablediffusion'):
101
  call('wget -q -O sd_mrep.tar.zst https://huggingface.co/TheLastBen/dependencies/resolve/main/sd_mrep.tar.zst', shell=True)
102
  call('tar --zstd -xf sd_mrep.tar.zst', shell=True)
103
  call('rm sd_mrep.tar.zst', shell=True)
 
97
 
98
  print('Installing/Updating the repo...')
99
  os.chdir('/notebooks')
100
+ if not os.path.exists('/notebooks/sd/stablediffusiond'): #reset later
101
  call('wget -q -O sd_mrep.tar.zst https://huggingface.co/TheLastBen/dependencies/resolve/main/sd_mrep.tar.zst', shell=True)
102
  call('tar --zstd -xf sd_mrep.tar.zst', shell=True)
103
  call('rm sd_mrep.tar.zst', shell=True)
Scripts/mainpaperspacev1.py CHANGED
@@ -771,7 +771,7 @@ def testui(Custom_Path, Previous_Session_Name, Session_Name, User, Password):
771
  auth=""
772
 
773
  os.chdir('/notebooks')
774
- if not os.path.exists('/notebooks/sd/stablediffusion'):
775
  call('wget -q -O sd_mrep.tar.zst https://huggingface.co/TheLastBen/dependencies/resolve/main/sd_mrep.tar.zst', shell=True)
776
  call('tar --zstd -xf sd_mrep.tar.zst', shell=True)
777
  call('rm sd_mrep.tar.zst', shell=True)
 
771
  auth=""
772
 
773
  os.chdir('/notebooks')
774
+ if not os.path.exists('/notebooks/sd/stablediffusiond'): #reset later
775
  call('wget -q -O sd_mrep.tar.zst https://huggingface.co/TheLastBen/dependencies/resolve/main/sd_mrep.tar.zst', shell=True)
776
  call('tar --zstd -xf sd_mrep.tar.zst', shell=True)
777
  call('rm sd_mrep.tar.zst', shell=True)
Scripts/mainpaperspacev2.py CHANGED
@@ -819,7 +819,7 @@ def testui(Custom_Path, Previous_Session_Name, Session_Name, User, Password):
819
  auth=""
820
 
821
  os.chdir('/notebooks')
822
- if not os.path.exists('/notebooks/sd/stablediffusion'):
823
  call('wget -q -O sd_mrep.tar.zst https://huggingface.co/TheLastBen/dependencies/resolve/main/sd_mrep.tar.zst', shell=True)
824
  call('tar --zstd -xf sd_mrep.tar.zst', shell=True)
825
  call('rm sd_mrep.tar.zst', shell=True)
 
819
  auth=""
820
 
821
  os.chdir('/notebooks')
822
+ if not os.path.exists('/notebooks/sd/stablediffusiond'): #reset later
823
  call('wget -q -O sd_mrep.tar.zst https://huggingface.co/TheLastBen/dependencies/resolve/main/sd_mrep.tar.zst', shell=True)
824
  call('tar --zstd -xf sd_mrep.tar.zst', shell=True)
825
  call('rm sd_mrep.tar.zst', shell=True)