Move Promax model to separate subdir

#23
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")
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment