@@ -1322,6 +1322,51 @@ def from_pretrained(cls, *args, **kwargs):
13221322 requires_backends (cls , ["torch" , "transformers" ])
13231323
13241324
1325+ class Kandinsky5I2IPipeline (metaclass = DummyObject ):
1326+ _backends = ["torch" , "transformers" ]
1327+
1328+ def __init__ (self , * args , ** kwargs ):
1329+ requires_backends (self , ["torch" , "transformers" ])
1330+
1331+ @classmethod
1332+ def from_config (cls , * args , ** kwargs ):
1333+ requires_backends (cls , ["torch" , "transformers" ])
1334+
1335+ @classmethod
1336+ def from_pretrained (cls , * args , ** kwargs ):
1337+ requires_backends (cls , ["torch" , "transformers" ])
1338+
1339+
1340+ class Kandinsky5I2VPipeline (metaclass = DummyObject ):
1341+ _backends = ["torch" , "transformers" ]
1342+
1343+ def __init__ (self , * args , ** kwargs ):
1344+ requires_backends (self , ["torch" , "transformers" ])
1345+
1346+ @classmethod
1347+ def from_config (cls , * args , ** kwargs ):
1348+ requires_backends (cls , ["torch" , "transformers" ])
1349+
1350+ @classmethod
1351+ def from_pretrained (cls , * args , ** kwargs ):
1352+ requires_backends (cls , ["torch" , "transformers" ])
1353+
1354+
1355+ class Kandinsky5T2IPipeline (metaclass = DummyObject ):
1356+ _backends = ["torch" , "transformers" ]
1357+
1358+ def __init__ (self , * args , ** kwargs ):
1359+ requires_backends (self , ["torch" , "transformers" ])
1360+
1361+ @classmethod
1362+ def from_config (cls , * args , ** kwargs ):
1363+ requires_backends (cls , ["torch" , "transformers" ])
1364+
1365+ @classmethod
1366+ def from_pretrained (cls , * args , ** kwargs ):
1367+ requires_backends (cls , ["torch" , "transformers" ])
1368+
1369+
13251370class Kandinsky5T2VPipeline (metaclass = DummyObject ):
13261371 _backends = ["torch" , "transformers" ]
13271372
0 commit comments