Update mainpaperspaceA1111.py
Browse files- mainpaperspaceA1111.py +0 -1
mainpaperspaceA1111.py
CHANGED
|
@@ -167,7 +167,6 @@ def mdls(Original_Model_Version, Path_to_MODEL, MODEL_LINK, Temporary_Storage):
|
|
| 167 |
#call('ln -s /datasets/stable-diffusion-v2-1/stable-diffusion-2-1/v2-1_768-nonema-pruned.safetensors /notebooks/sd/stable-diffusion-webui/models/Stable-diffusion', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
|
| 168 |
#call('ln -s /datasets/stable-diffusion-xl/sd_xl_base_1.0.safetensors /notebooks/sd/stable-diffusion-webui/models/Stable-diffusion', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
|
| 169 |
|
| 170 |
-
!mkdir "/tmp/models"
|
| 171 |
if Path_to_MODEL !='':
|
| 172 |
if os.path.exists(str(Path_to_MODEL)):
|
| 173 |
print('[1;32mUsing the custom model.')
|
|
|
|
| 167 |
#call('ln -s /datasets/stable-diffusion-v2-1/stable-diffusion-2-1/v2-1_768-nonema-pruned.safetensors /notebooks/sd/stable-diffusion-webui/models/Stable-diffusion', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
|
| 168 |
#call('ln -s /datasets/stable-diffusion-xl/sd_xl_base_1.0.safetensors /notebooks/sd/stable-diffusion-webui/models/Stable-diffusion', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
|
| 169 |
|
|
|
|
| 170 |
if Path_to_MODEL !='':
|
| 171 |
if os.path.exists(str(Path_to_MODEL)):
|
| 172 |
print('[1;32mUsing the custom model.')
|