Open silveroxides opened 6 days ago
Symlinks should not be a problem, I use them myself to share embeddings between different SD frontends. EMB_PATH is specified like this:
EMB_PATH = Path(shared.cmd_opts.embeddings_dir).absolute()
and shared.cmd_opts obviously comes directly from the webui, either a custom value or the default.
From this part of the error message:
ValueError: '.' is not in the subpath of 'C:\\Stable_Diffusion\\stable-diffusion-webui\\embeddings' OR one path is relative and the other is absolute.
It seems more like a filename issue? emb.filename shouldn't just be '.' at that point, normally the webui would provide an absolute path there. Also, it gets appended to the emb_unknown dictionary, meaning the embedding type itself wasn't detected either. Maybe there's a corrupt file in your embedding folder or something like that?
SO I keep getting this issue. This is the only extension I have that causes issues with my symbolic links I have within my models and embeddings directories. Is this because of the extension using sys module rather than the webui internal paths module?