Hi there, I've been enjoying CozyNest's extranetworks tab for making my large, messy collection of models easier to work with. I've noticed a small issue when trying to use it to activate a model stored in a subfolder, as below:
Filtering down to a subfolder and then clicking a model seems to pass only the file's name to sd-webui's selectCheckpoint function, not the subfolder + name. This results in sd-webui showing the following error in the console, and then defaulting to the first model in its list: Checkpoint Anythingv3.safetensors not found; loading fallback !7thanime\7th_anime_v3_C.safetensors [f6957e654e]
In my case, the Anythingv3 model is located at anything\Anythingv3.safetensors, but CozyNest passes Anythingv3.safetensors into the selectCheckpoint function. This doesn't match any entry in the "Stable Diffusion checkpoints" dropdown, so the operation fails.
Webui
Automatic1111's webui
What browsers are you seeing the problem on?
Firefox, Microsoft Edge
Additional info
Reproduction steps
Create a subdirectory in your sd-webui's models directory
Place some models in the subdirectory
Attempt to load these models using CozyNest's ExtraNetworks feature
Observed result
Server terminal prints an error about not being able to locate the selected model due to missing subdirectory prefix. Fallback model is loaded instead.
Expected result
CozyNest includes the appropriate subdirectory for the selected model and it is loaded normally.
Environment info
Relevant browser log output
No response
Relevant log output from the webui
# Example output for a model actually located at 'anything\Anythingv3.safetensors'
Checkpoint Anythingv3.safetensors not found; loading fallback !7thanime\7th_anime_v3_C.safetensors [f6957e654e]
Checklist
[X] I have searched the issues to make sure this is not a duplicate
What happened?
Hi there, I've been enjoying CozyNest's extranetworks tab for making my large, messy collection of models easier to work with. I've noticed a small issue when trying to use it to activate a model stored in a subfolder, as below:![image](https://github.com/Nevysha/Cozy-Nest/assets/92774204/ef736f6b-d7bf-49cb-9f8a-b21a89fd8922)
Filtering down to a subfolder and then clicking a model seems to pass only the file's name to sd-webui's
selectCheckpoint
function, not the subfolder + name. This results in sd-webui showing the following error in the console, and then defaulting to the first model in its list:Checkpoint Anythingv3.safetensors not found; loading fallback !7thanime\7th_anime_v3_C.safetensors [f6957e654e]
In my case, the Anythingv3 model is located at
anything\Anythingv3.safetensors
, but CozyNest passesAnythingv3.safetensors
into theselectCheckpoint
function. This doesn't match any entry in the "Stable Diffusion checkpoints" dropdown, so the operation fails.Webui
Automatic1111's webui
What browsers are you seeing the problem on?
Firefox, Microsoft Edge
Additional info
Reproduction steps
models
directoryObserved result
Server terminal prints an error about not being able to locate the selected model due to missing subdirectory prefix. Fallback model is loaded instead.
Expected result
CozyNest includes the appropriate subdirectory for the selected model and it is loaded normally.
Environment info
Relevant browser log output
No response
Relevant log output from the webui
Checklist