1 means that
the output of the pre-final layer will be used for computing the prompt embeddings.    Encodes the prompt into text encoder hidden states.  StableDiffusionGLIGENTextImagePipeline  class diffusers.StableDiffusionGLIGENTextImagePipeline  < source > ( vae: AutoencoderKL text_encoder: CLIPTextModel tokenizer: CLIPTokenizer processor: CLIPProcessor image_encoder: CLIPVisionModelWithProjection image_project: CLIPImageProjection unet: UNe