TheLastBen
commited on
Commit
•
04fa4a4
1
Parent(s):
f0b738f
Update Scripts/mainpaperspaceA1111.py
Browse files
Scripts/mainpaperspaceA1111.py
CHANGED
@@ -145,6 +145,8 @@ def repo():
|
|
145 |
print('[1;32m')
|
146 |
call('git checkout master', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
|
147 |
call('git pull', shell=True, stdout=open('/dev/null', 'w'))
|
|
|
|
|
148 |
os.chdir('/notebooks')
|
149 |
clear_output()
|
150 |
done()
|
|
|
145 |
print('[1;32m')
|
146 |
call('git checkout master', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
|
147 |
call('git pull', shell=True, stdout=open('/dev/null', 'w'))
|
148 |
+
os.makedirs('/notebooks/sd/stable-diffusion-webui/repositories', exist_ok=True)
|
149 |
+
call('git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets /notebooks/sd/stable-diffusion-webui/repositories/stable-diffusion-webui-assets', shell=True)
|
150 |
os.chdir('/notebooks')
|
151 |
clear_output()
|
152 |
done()
|