Stability-AI / StableSwarmUI

StableSwarmUI, A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and extensibility.
MIT License
4.59k stars 369 forks source link

Errors when using model path from Comfyui #456

Open AxelFooley opened 2 months ago

AxelFooley commented 2 months ago

I am running SwarmUI and ComfyUI on the same node, a windows host. I already have models, loras and all the things downloaded and in use by ComfyUI, so in Server -> Server Configuration i followed the instructions and provided absolute path for my ModelRoot which is in my case "D:\ComfyUI_windows_portable\ComfyUI\models", all other directories (checkpoints, loras, etc) are subfolders of this root.

SwarmUI is rejecting the change and in the logs i see this:

10:06:31.985 [Warning] User local changed server settings: paths.modelroot, paths.sdmodelfolder, paths.sdlorafolder, paths.sdvaefolder, paths.sdembeddingfolder
10:06:31.989 [Error] Failed to create one or more directories: The filename, directory name, or volume label syntax is incorrect. : 'D:\SwarmUI\Model paths settings are invalid, rejected change.
Model paths settings are invalid, rejected change.
D:\ComfyUI_windows_portable\ComfyUI\models\checkpoints'
mcmonkey4eva commented 2 months ago

Did you miss the readme migration notice? https://github.com/Stability-AI/StableSwarmUI?tab=readme-ov-file#migration-notice https://github.com/mcmonkeyprojects/SwarmUI/discussions/2

AxelFooley commented 2 months ago

I have just installed it for the first time why would i need to migrate if there's nothing to migrate?

Jelosus2 commented 2 months ago

This is the outdated repository, that's why :)

AxelFooley commented 2 months ago

I'm sorry, i got my tabs mixed up and raised the issue in the wrong repo. I have indeed cloned the updated one. Will raise the issue there. Apologies for the confusion.