Ashoka74 commited on
Commit
e8c0a98
β€’
1 Parent(s): d8bf62c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -132,8 +132,8 @@ model_path = './models/iclight_sd15_fc.safetensors'
132
  # model_path = './models/iclight_sd15_fbc.safetensors'
133
 
134
 
135
- # if not os.path.exists(model_path):
136
- # download_url_to_file(url='https://huggingface.co/lllyasviel/ic-light/resolve/main/iclight_sd15_fc.safetensors', dst=model_path)
137
 
138
  sd_offset = sf.load_file(model_path)
139
  sd_origin = unet.state_dict()
 
132
  # model_path = './models/iclight_sd15_fbc.safetensors'
133
 
134
 
135
+ if not os.path.exists(model_path):
136
+ download_url_to_file(url='https://huggingface.co/lllyasviel/ic-light/resolve/main/iclight_sd15_fc.safetensors', dst=model_path)
137
 
138
  sd_offset = sf.load_file(model_path)
139
  sd_origin = unet.state_dict()