MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / __init__

Method __init__

diffusers/src/diffusers/models/vq_model.py:26–29  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

24
25class VQModel(VQModel):
26 def __init__(self, *args, **kwargs):
27 deprecation_message = "Importing `VQModel` from `diffusers.models.vq_model` is deprecated and this will be removed in a future version. Please use `from diffusers.models.autoencoders.vq_model import VQModel`, instead."
28 deprecate("VQModel", "0.31", deprecation_message)
29 super().__init__(*args, **kwargs)

Callers 1

__init__Method · 0.45

Calls 1

deprecateFunction · 0.85

Tested by

no test coverage detected