ext_encoder=pipe.text_encoder) compel uses + or - to increase or decrease the weight of a word in the prompt. To increase the weight of “ball”: + corresponds to the value 1.1, ++ corresponds to 1.1^2, and so on. Similarly, - corresponds to 0.9 and -- corresponds to 0.9^2. Feel free to experiment with adding more + or - in your prompt!   Copied prompt = "a red cat playing with a ball++" Pass the prompt to compel_proc to create the new prompt emb