tor, num_inference_steps=20).images[0]
image   Weighting You’ll notice there is no “ball” in the image! Let’s use compel to upweight the concept of “ball” in the prompt. Create a Compel object, and pass it a tokenizer and text encoder:   Copied from compel import Compel

compel_proc = Compel(tokenizer=pipe.tokenizer, text_encoder=pipe.text_encoder) compel uses + or - to increase or decrease the weight of a word in the prompt. To increase the we