|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from ..utils import deprecate |
|
from .unets.unet_2d_condition import UNet2DConditionModel, UNet2DConditionOutput |
|
|
|
|
|
class UNet2DConditionOutput(UNet2DConditionOutput): |
|
deprecation_message = "Importing `UNet2DConditionOutput` from `diffusers.models.unet_2d_condition` is deprecated and this will be removed in a future version. Please use `from diffusers.models.unets.unet_2d_condition import UNet2DConditionOutput`, instead." |
|
deprecate("UNet2DConditionOutput", "0.29", deprecation_message) |
|
|
|
|
|
class UNet2DConditionModel(UNet2DConditionModel): |
|
deprecation_message = "Importing `UNet2DConditionModel` from `diffusers.models.unet_2d_condition` is deprecated and this will be removed in a future version. Please use `from diffusers.models.unets.unet_2d_condition import UNet2DConditionModel`, instead." |
|
deprecate("UNet2DConditionModel", "0.29", deprecation_message) |
|
|