TheLastBen commited on
Commit
fc7e829
1 Parent(s): 99b7330

Update Scripts/mainpaperspacev1.py

Browse files
Files changed (1) hide show
  1. Scripts/mainpaperspacev1.py +1 -0
Scripts/mainpaperspacev1.py CHANGED
@@ -52,6 +52,7 @@ def Deps(force_reinstall):
52
  call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
53
  os.chdir('/notebooks')
54
  call("git clone --depth 1 -q --branch main https://github.com/TheLastBen/diffusers /diffusers", shell=True, stdout=open('/dev/null', 'w'))
 
55
  if not os.path.exists('/notebooks/diffusers'):
56
  call('ln -s /diffusers /notebooks', shell=True)
57
  call("rm -r /deps", shell=True)
 
52
  call("sed -i 's@~/.cache@/notebooks/cache@' /usr/local/lib/python3.9/dist-packages/transformers/utils/hub.py", shell=True)
53
  os.chdir('/notebooks')
54
  call("git clone --depth 1 -q --branch main https://github.com/TheLastBen/diffusers /diffusers", shell=True, stdout=open('/dev/null', 'w'))
55
+ call("pip install --root-user-action=ignore -qq gradio==3.23", shell=True, stdout=open('/dev/null', 'w'))
56
  if not os.path.exists('/notebooks/diffusers'):
57
  call('ln -s /diffusers /notebooks', shell=True)
58
  call("rm -r /deps", shell=True)