TheLastBen commited on
Commit
1e01444
1 Parent(s): 04fa4a4

Update Scripts/mainpaperspacev1.py

Browse files
Files changed (1) hide show
  1. Scripts/mainpaperspacev1.py +2 -0
Scripts/mainpaperspacev1.py CHANGED
@@ -847,6 +847,8 @@ def testui(Custom_Path, Previous_Session_Name, Session_Name, User, Password):
847
  print('')
848
  call('git checkout master', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
849
  call('git pull', shell=True, stdout=open('/dev/null', 'w'))
 
 
850
  os.chdir('/notebooks')
851
  clear_output()
852
 
 
847
  print('')
848
  call('git checkout master', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
849
  call('git pull', shell=True, stdout=open('/dev/null', 'w'))
850
+ os.makedirs('/notebooks/sd/stable-diffusion-webui/repositories', exist_ok=True)
851
+ call('git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets /notebooks/sd/stable-diffusion-webui/repositories/stable-diffusion-webui-assets', shell=True)
852
  os.chdir('/notebooks')
853
  clear_output()
854