Detect checkpoints and loras in subfolders
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?
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.
Plus, can provide the model folder structure?
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:
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.
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.