sd-webui-colab icon indicating copy to clipboard operation
sd-webui-colab copied to clipboard

Default UI settings state not loading from custom config file

Open NeoCode361 opened this issue 2 years ago • 2 comments

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

NeoCode361 avatar Aug 31 '22 22:08 NeoCode361

tip: use ``` to multiline code snippets

altryne avatar Aug 31 '22 22:08 altryne

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

altryne avatar Sep 03 '22 21:09 altryne