Move Promax model to separate subdir
#23
by
Pyr-000
- opened
No description provided.
Moving the Promax model files into their own folder with the default model file names could make loading them in diffusers directly (without prior manual download) easier.
This way, it should be possible to load the model variants as:
from diffusers import ControlNetModel
# 'standard' variant
controlnet = ControlNetModel.from_pretrained("xinsir/controlnet-union-sdxl-1.0")
# 'promax' variant
controlnet = ControlNetModel.from_pretrained("xinsir/controlnet-union-sdxl-1.0", subfolder="promax")
Pyr-000
changed pull request status to
open
For the time being (with this unmerged), the Promax model can be loaded from this commit via
controlnet = ControlNetModel.from_pretrained("xinsir/controlnet-union-sdxl-1.0", subfolder="promax", revision="pr/23")