mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(configure): prepend root to config path
This commit is contained in:
parent
3898336509
commit
73ddde7d3f
@ -782,7 +782,7 @@ def main():
|
||||
print('** DOWNLOADING DIFFUSION WEIGHTS **')
|
||||
download_weights(opt)
|
||||
else:
|
||||
config_path = Path(opt.config_file or Default_config_file)
|
||||
config_path = Path(Globals.root, opt.config_file or Default_config_file)
|
||||
if config_path.exists():
|
||||
download_diffusers_in_config(config_path, full_precision=opt.full_precision)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user