kingpreyansh commited on
Commit
b77ae2f
1 Parent(s): fe0ca90

Updated paths.py

Browse files
sd/stable-diffusion-webui/modules/paths.py CHANGED
@@ -17,7 +17,7 @@ sys.path.insert(0, script_path)
17
 
18
  # search for directory of stable diffusion in following places
19
  sd_path = None
20
- possible_sd_paths = [os.path.join(script_path, 'repositories/stable-diffusion-stability-ai'), '.', os.path.dirname(script_path)]
21
  for possible_sd_path in possible_sd_paths:
22
  if os.path.exists(os.path.join(possible_sd_path, 'ldm/models/diffusion/ddpm.py')):
23
  sd_path = os.path.abspath(possible_sd_path)
 
17
 
18
  # search for directory of stable diffusion in following places
19
  sd_path = None
20
+ possible_sd_paths = [os.path.join(script_path, '/home/user/app/sd/stablediffusion'), '.', os.path.dirname(script_path)]
21
  for possible_sd_path in possible_sd_paths:
22
  if os.path.exists(os.path.join(possible_sd_path, 'ldm/models/diffusion/ddpm.py')):
23
  sd_path = os.path.abspath(possible_sd_path)