nd module names of all the
diffusion pipeline’s components.  from_pretrained  < source > ( pretrained_model_name_or_path: Union **kwargs  )   Parameters   pretrained_model_name_or_path (str or os.PathLike, optional) —
Can be either:

A string, the repo id (for example runwayml/stable-diffusion-v1-5) of a pretrained pipeline
hosted on the Hub.
A path to a directory (for example ./my_model_directory) containing the model weights saved
using save_