o activate the "toy" adapter:   Copied # First, set the adapter.
pipe.set_adapters("toy")

# Then, run inference.
prompt = "toy_face of a hacker with a hoodie"
lora_scale= 0.9
image = pipe(
    prompt, num_inference_steps=30, cross_attention_kwargs={"scale": lora_scale}, generator=torch.manual_seed(0)
).images[0]
image  If you want to switch to only the base model, disable all LoRAs with the disable_lora() method.   Copied pipe.disable_lora()

