TheLastBen commited on
Commit
7fde50c
1 Parent(s): 1e01444

Update Scripts/mainpaperspacev2.py

Browse files
Files changed (1) hide show
  1. Scripts/mainpaperspacev2.py +2 -0
Scripts/mainpaperspacev2.py CHANGED
@@ -894,6 +894,8 @@ def testui(Custom_Path, Previous_Session_Name, Session_Name, User, Password):
894
  print('')
895
  call('git checkout master', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
896
  call('git pull', shell=True, stdout=open('/dev/null', 'w'))
 
 
897
  os.chdir('/notebooks')
898
  clear_output()
899
 
 
894
  print('')
895
  call('git checkout master', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
896
  call('git pull', shell=True, stdout=open('/dev/null', 'w'))
897
+ os.makedirs('/notebooks/sd/stable-diffusion-webui/repositories', exist_ok=True)
898
+ call('git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets /notebooks/sd/stable-diffusion-webui/repositories/stable-diffusion-webui-assets', shell=True)
899
  os.chdir('/notebooks')
900
  clear_output()
901