TheLastBen commited on
Commit
516b019
1 Parent(s): 66f22a0

Update Scripts/mainpaperspacev1.py

Browse files
Files changed (1) hide show
  1. Scripts/mainpaperspacev1.py +1 -1
Scripts/mainpaperspacev1.py CHANGED
@@ -155,7 +155,7 @@ def downloadmodel_lnk(CKPT_Link, safetensors):
155
  if os.path.exists("/models/"+modelnm):
156
  if os.path.getsize("/models/"+modelnm) > 1810671599:
157
  call('wget -q -O config.yaml https://github.com/CompVis/stable-diffusion/raw/main/configs/stable-diffusion/v1-inference.yaml', shell=True)
158
- call('python /diffusers/scripts/convert_original_stable_diffusion_to_diffusers.py --checkpoint_path '+modelnm+' --dump_path /models/stable-diffusion-custom --original_config_file config.yaml '+sftnsr, shell=True)
159
  clear_output()
160
 
161
  call('rm config.yaml', shell=True)
 
155
  if os.path.exists("/models/"+modelnm):
156
  if os.path.getsize("/models/"+modelnm) > 1810671599:
157
  call('wget -q -O config.yaml https://github.com/CompVis/stable-diffusion/raw/main/configs/stable-diffusion/v1-inference.yaml', shell=True)
158
+ call('python /diffusers/scripts/convert_original_stable_diffusion_to_diffusers.py --checkpoint_path /models/'+modelnm+' --dump_path /models/stable-diffusion-custom --original_config_file config.yaml '+sftnsr, shell=True)
159
  clear_output()
160
 
161
  call('rm config.yaml', shell=True)