You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update the signature of from_single_file
* Update src/diffusers/loaders/single_file.py
Co-authored-by: Steven Liu <[email protected]>
* Update src/diffusers/loaders/single_file.py
Co-authored-by: Steven Liu <[email protected]>
* Update src/diffusers/loaders/single_file.py
Co-authored-by: Steven Liu <[email protected]>
* Update src/diffusers/loaders/single_file.py
Co-authored-by: Steven Liu <[email protected]>
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Sayak Paul <[email protected]>
Co-authored-by: Dhruv Nair <[email protected]>
Co-authored-by: Steven Liu <[email protected]>
revision (`str`, *optional*, defaults to `"main"`):
190
190
The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
191
191
allowed by Git.
192
+
original_config_file (`str`, *optional*):
193
+
The path to the original config file that was used to train the model. If not provided, the config file
194
+
will be inferred from the checkpoint file.
195
+
model_type (`str`, *optional*):
196
+
The type of model to load. If not provided, the model type will be inferred from the checkpoint file.
197
+
image_size (`int`, *optional*):
198
+
The size of the image output. It's used to configure the `sample_size` parameter of the UNet and VAE model.
199
+
load_safety_checker (`bool`, *optional*, defaults to `False`):
200
+
Whether to load the safety checker model or not. By default, the safety checker is not loaded unless a `safety_checker` component is passed to the `kwargs`.
201
+
num_in_channels (`int`, *optional*):
202
+
Specify the number of input channels for the UNet model. Read more about how to configure UNet model with this parameter
0 commit comments