comflowyspace icon indicating copy to clipboard operation
comflowyspace copied to clipboard

Detect checkpoints and loras in subfolders

Open thanatos1111 opened this issue 1 year ago • 3 comments

Add a function to detect checkpoints and loras in subfolders, and add folder structure for model management.

I have added comfyui and stable diffusion path to the model management setting, but currently comflowy can only detect models put in the root folder of models.

Or is there any method to fix this in the app?

thanatos1111 avatar Feb 23 '24 13:02 thanatos1111

Comfyui provide model mapping yaml config file, underline comflowyspace use this config file to mapping Stable Diffusion models. If you have customization need, you can change this file.

image

Plus, can provide the model folder structure?

6174 avatar Feb 24 '24 01:02 6174

I used SD first so when I turned to comfyui, I have changed this extra_model_paths.yaml file, with the path name of base_path set to SD path, and it has been working well as it should be.

I have tested it: If I move the lora or checkpoint to the base path of lora or checkpoint, and refresh, then I can see it's showing in the comflowyspace model management panel: image BTW, for some reason it's showing two files for the same lora file as shown in the image. But if I move it into a folder under lora or checkpoint folder, it's not showing.

In comflowyspace, I can see there is a SD WebUI Path setting, I also added the main path of SD in it and clicked on the refresh button, not working. image

thanatos1111 avatar Feb 26 '24 15:02 thanatos1111

Hello, when i change the paths in yaml file. and when try to open a model in comflowyspace i get this error. i cant really load any model too. it just gives the error and stops working.

Screenshot - 2024-03-30 22 04 41

nodegraphics avatar Mar 31 '24 05:03 nodegraphics