Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Default UI settings state not loading from custom config file #12

Open
NeoCode361 opened this issue Aug 31, 2022 · 2 comments
Open

Default UI settings state not loading from custom config file #12

NeoCode361 opened this issue Aug 31, 2022 · 2 comments

Comments

@NeoCode361
Copy link

NeoCode361 commented Aug 31, 2022

Changing path to a custom config file on the drive is not loading the default UI settings.

e.g. defaults: "/content/drive/MyDrive/AI/configs/webui/webui.yaml"

It is fixed by adding --defaults '{defaults}' \ above the --share $vars.

e.g.

%cd /content/stable-diffusion
if share_password == "":
  !python /content/stable-diffusion/scripts/webui.py \
  --ckpt '{models_path}/sd-v1-4.ckpt' \
  --outdir '{output_path}' \
  --defaults '{defaults}' \
  --share $vars
else:
  !python /content/stable-diffusion/scripts/webui.py \
  --ckpt '{models_path}/sd-v1-4.ckpt' \
  --outdir '{output_path}' \
  --share-password '{share_password}' \
  --defaults '{defaults}' \
  --share $vars
@altryne
Copy link
Owner

altryne commented Aug 31, 2022

tip: use ``` to multiline code snippets

@altryne
Copy link
Owner

altryne commented Sep 3, 2022

Could be that the variables are not getting picked up at all? Colab is a weird beast

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants