TheLastBen commited on
Commit
01d5f2e
1 Parent(s): 3bc2134

Upload 3 files

Browse files
Scripts/mainpaperspaceA1111.py CHANGED
@@ -44,7 +44,7 @@ def Deps(force_reinstall):
44
  call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
45
  os.chdir('/notebooks')
46
  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'))
47
- call('pip install --root-user-action=ignore --disable-pip-version-check -qq tomesd', shell=True, stdout=open('/dev/null', 'w'))
48
  if not os.path.exists('/notebooks/diffusers'):
49
  call('ln -s /diffusers /notebooks', shell=True)
50
  call("rm -r /deps", shell=True)
 
44
  call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
45
  os.chdir('/notebooks')
46
  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'))
47
+ call('pip install --root-user-action=ignore --disable-pip-version-check -qq tomesd gradio==3.32', shell=True, stdout=open('/dev/null', 'w'))
48
  if not os.path.exists('/notebooks/diffusers'):
49
  call('ln -s /diffusers /notebooks', shell=True)
50
  call("rm -r /deps", shell=True)
Scripts/mainpaperspacev1.py CHANGED
@@ -56,7 +56,7 @@ def Deps(force_reinstall):
56
  call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
57
  os.chdir('/notebooks')
58
  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'))
59
- call('pip install --root-user-action=ignore --disable-pip-version-check -qq tomesd', shell=True, stdout=open('/dev/null', 'w'))
60
  if not os.path.exists('/notebooks/diffusers'):
61
  call('ln -s /diffusers /notebooks', shell=True)
62
  call("rm -r /deps", shell=True)
 
56
  call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
57
  os.chdir('/notebooks')
58
  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'))
59
+ call('pip install --root-user-action=ignore --disable-pip-version-check -qq tomesd gradio==3.32', shell=True, stdout=open('/dev/null', 'w'))
60
  if not os.path.exists('/notebooks/diffusers'):
61
  call('ln -s /diffusers /notebooks', shell=True)
62
  call("rm -r /deps", shell=True)
Scripts/mainpaperspacev2.py CHANGED
@@ -57,7 +57,7 @@ def Deps(force_reinstall):
57
  call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
58
  os.chdir('/notebooks')
59
  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'))
60
- call('pip install --root-user-action=ignore --disable-pip-version-check -qq tomesd', shell=True, stdout=open('/dev/null', 'w'))
61
  if not os.path.exists('/notebooks/diffusers'):
62
  call('ln -s /diffusers /notebooks', shell=True)
63
  call("rm -r /deps", shell=True)
 
57
  call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
58
  os.chdir('/notebooks')
59
  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'))
60
+ call('pip install --root-user-action=ignore --disable-pip-version-check -qq tomesd gradio==3.32', shell=True, stdout=open('/dev/null', 'w'))
61
  if not os.path.exists('/notebooks/diffusers'):
62
  call('ln -s /diffusers /notebooks', shell=True)
63
  call("rm -r /deps", shell=True)