



def 		a__			(		_UpperCamelCase			: list ,_UpperCamelCase			: int = 0							):
   __lowerCamelCase													=    length or len(_UpperCamelCase							)
   __lowerCamelCase													=    False
   for i in range(length - 1							):
      if list_data[i] > list_data[i + 1]:
         __lowerCamelCase							,__lowerCamelCase													=    list_data[i + 1], list_data[i]
         __lowerCamelCase													=    True

   return list_data if not swapped else bubble_sort(_UpperCamelCase ,length - 1							)


if __name__ == "__main__":
  import doctest

  doctest.testmod()











import torch

from diffusers import StableDiffusionPipeline


a_			=					"""path-to-your-trained-model"""
a_			=					StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.floataa).to("""cuda""")

a_			=					"""A photo of sks dog in a bucket"""
a_			=					pipe(prompt, num_inference_steps=50, guidance_scale=7.5).images[0]

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






