sd-webui-colab
sd-webui-colab copied to clipboard
Default UI settings state not loading from custom config file
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
tip: use ``` to multiline code snippets
Could be that the variables are not getting picked up at all? Colab is a weird beast