sebaxakerhtc / sd-webui-demofusion

A Demofusion extension for stable-diffusion-webui
Apache License 2.0
19 stars 2 forks source link

fix model dirs path and others minor stuff #8

Closed w-e-w closed 6 months ago

w-e-w commented 6 months ago

your model path dire is wrong since I set my --ckpt-dir and my default is empyt it erros out with index out of range because no models is found https://github.com/sebaxakerhtc/sd-webui-demofusion/compare/main...w-e-w:sd-webui-demofusion:main#diff-acac6b2e2cf623ab975bd01e7b5227fbf7a4c861d98f26c0c0e6da950e65326eR21-R23


I also reformat the file because your code have stuff like indentation is not a multiple of 4 and remove unsed imports I also remove most of you isntalles also every package you installed apart from diffusers are installed by web UI by default, no need to install them your self

if you specifically need a version of diffuser or above consider adding a version check because if other extensions install diffusers they might install a earlier version