stlaurentjr commited on
Commit
ac35018
1 Parent(s): 07f8044

Update scripts/mainrunpodA1111.py

Browse files
Files changed (1) hide show
  1. scripts/mainrunpodA1111.py +2 -3
scripts/mainrunpodA1111.py CHANGED
@@ -131,7 +131,8 @@ def repo(Huggingface_token_optional):
131
  if not os.path.exists('stable-diffusion-webui'):
132
  call('git clone -q --depth 1 --branch master https://github.com/AUTOMATIC1111/stable-diffusion-webui', shell=True)
133
 
134
-
 
135
  os.chdir('/workspace/sd/stable-diffusion-webui/')
136
  call('git reset --hard', shell=True)
137
  print('')
@@ -420,8 +421,6 @@ def sd(User, Password, model):
420
 
421
  call("sed -i 's@print(\"No module.*@@' /workspace/sd/stablediffusion/ldm/modules/diffusionmodules/model.py", shell=True)
422
 
423
- call('wget -O /workspace/sd/stable-diffusion-webui/config.json https://huggingface.co/spaces/stlaurentjr/RNPD/raw/main/config/config.json', shell=True)
424
-
425
  os.chdir('/workspace/sd/stable-diffusion-webui')
426
  clear_output()
427
 
 
131
  if not os.path.exists('stable-diffusion-webui'):
132
  call('git clone -q --depth 1 --branch master https://github.com/AUTOMATIC1111/stable-diffusion-webui', shell=True)
133
 
134
+ call('wget -O /workspace/sd/stable-diffusion-webui/config.json https://huggingface.co/spaces/stlaurentjr/RNPD/raw/main/config/config.json', shell=True)
135
+
136
  os.chdir('/workspace/sd/stable-diffusion-webui/')
137
  call('git reset --hard', shell=True)
138
  print('')
 
421
 
422
  call("sed -i 's@print(\"No module.*@@' /workspace/sd/stablediffusion/ldm/modules/diffusionmodules/model.py", shell=True)
423
 
 
 
424
  os.chdir('/workspace/sd/stable-diffusion-webui')
425
  clear_output()
426