



from __future__ import annotations

def      lowerCAmelCase__  (							_SCREAMING_SNAKE_CASE				:	Optional[Any]			):
				"""simple docstring"""







				return len(set(lowerCamelCase__			)			) == len(lowerCamelCase__			)


if __name__ == "__main__":
						import doctest

						doctest.testmod()





'''simple docstring'''




import torch

from diffusers import StableDiffusionPipeline


lowerCamelCase							:Tuple				    =					'''path-to-your-trained-model'''
lowerCamelCase							:Optional[int]				    =					StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.floataa).to('''cuda''')

lowerCamelCase							:Optional[int]				    =					'''A photo of sks dog in a bucket'''
lowerCamelCase							:List[Any]				    =					pipe(prompt, num_inference_steps=5_0, guidance_scale=7.5).images[0]

image.save('''dog-bucket.png''')