



from .pipeline_kandinskya_a import KandinskyVaaPipeline
from .pipeline_kandinsky2_2_controlnet import KandinskyVaaControlnetPipeline
from .pipeline_kandinsky2_2_controlnet_img2img import KandinskyVaaControlnetImgaImgPipeline
from .pipeline_kandinsky2_2_img2img import KandinskyVaaImgaImgPipeline
from .pipeline_kandinsky2_2_inpainting import KandinskyVaaInpaintPipeline
from .pipeline_kandinsky2_2_prior import KandinskyVaaPriorPipeline
from .pipeline_kandinsky2_2_prior_emb2emb import KandinskyVaaPriorEmbaEmbPipeline











import unittest

from transformers import BlenderbotTokenizer, BlenderbotTokenizerFast
from transformers.utils import cached_property


class 	a__       (       unittest.TestCase       ):


					"""simple docstring"""



					@cached_property
					def 				__UpperCAmelCase		(		self     :Optional[Any]    ):
										return BlenderbotTokenizer.from_pretrained('facebook/blenderbot-3B'    )

					@cached_property
					def 				__UpperCAmelCase		(		self     :Any    ):
										return BlenderbotTokenizerFast.from_pretrained('facebook/blenderbot-3B'    )

					def 				__UpperCAmelCase		(		self     :str    ):
										lowercase						   =       self.tokenizer_ab
										lowercase						   =       ' I am a small frog.'
										lowercase						   =       tok([src_text]      ,  padding=lowercase__      ,  truncation=lowercase__    )['input_ids']
										lowercase						   =       tok.batch_decode(lowercase__      ,  skip_special_tokens=lowercase__      ,  clean_up_tokenization_spaces=lowercase__    )[0]
										assert src_text == decoded

					def 				__UpperCAmelCase		(		self     :Union[str, Any]    ):
										lowercase						   =       self.rust_tokenizer_ab
										lowercase						   =       ' I am a small frog.'
										lowercase						   =       tok([src_text]      ,  padding=lowercase__      ,  truncation=lowercase__    )['input_ids']
										lowercase						   =       tok.batch_decode(lowercase__      ,  skip_special_tokens=lowercase__      ,  clean_up_tokenization_spaces=lowercase__    )[0]
										assert src_text == decoded

					def 				__UpperCAmelCase		(		self     :Any    ):
										assert self.tokenizer_ab.add_prefix_space
										assert self.tokenizer_ab([' Sam', 'Sam']    ).input_ids == [[5502, 2], [5502, 2]]



					def 				__UpperCAmelCase		(		self     :Union[str, Any]    ):
										assert self.rust_tokenizer_ab.add_prefix_space
										assert self.rust_tokenizer_ab([' Sam', 'Sam']    ).input_ids == [[5502, 2], [5502, 2]]






