Previous fix caused problems with loading models that are in subfolders like: "'FLUX.1\\Shakker-Labs-ControlNet-Union-Pro-2.0.safetensors" Now images and wideos are treated separetlly.
Previous fix caused problems with loading models that are in subfolders like: "'FLUX.1\\Shakker-Labs-ControlNet-Union-Pro-2.0.safetensors" Now images and wideos are treated separetlly.