
"""simple docstring"""





def 	__a     (		__lowerCamelCase,		__lowerCamelCase  ):
   UpperCAmelCase_					:					str			     =    ""
   for word_or_phrase in separated:
      if not isinstance(__lowerCamelCase,		__lowerCamelCase  ):
         raise Exception("join() accepts only strings to be joined"  )
      joined += word_or_phrase + separator
   return joined.strip(__lowerCamelCase  )


if __name__ == "__main__":
    from doctest import testmod

    testmod()




"""simple docstring"""





from ...utils import is_torch_available, is_transformers_available


if is_transformers_available() and is_torch_available():
    from .pipeline_vq_diffusion import LearnedClassifierFreeSamplingEmbeddings, VQDiffusionPipeline


