import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("ckpt/In-Context-LoRA", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("yur1xfd/a3d_lora")
prompt = "This is a four-panel image which illustrates a pair of geometrically aligned objects in front and back side views. The [TOP-LEFT] shows a <cat animal> from the front side view. The [TOP-RIGHT] shows the same <cat animal> from the back side view. The [BOTTOM-LEFT] shows a <dog animal> from the front side view. The [BOTTOM-RIGHT] shows the same <dog animal> from the front side view."
image = pipe(prompt).images[0]a3d_lora

- Prompt
- This is a four-panel image which illustrates a pair of geometrically aligned objects in front and back side views. The [TOP-LEFT] shows a <cat animal> from the front side view. The [TOP-RIGHT] shows the same <cat animal> from the back side view. The [BOTTOM-LEFT] shows a <dog animal> from the front side view. The [BOTTOM-RIGHT] shows the same <dog animal> from the front side view.
- Negative Prompt
- -
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
- Downloads last month
- 6