ssign the source concept to negative_prompt
and the target concept to prompt. Taking the above example, you simply have to set the embeddings related to
the phrases including “cat” to negative_prompt and “dog” to prompt. If you wanted to reverse the direction in the example above, i.e., “dog -> cat”, then it’s recommended to:Swap the source_prompt and target_prompt in the arguments to generate_mask. Change the input prompt in invert() to includ