How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stabilityai/sd-turbo", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("pbarbarant/sd-sonio")

prompt = "A healthy cardiac image from a Philipps scanner. The image should exhibit a high level of speckle noise like on the ultrasound or sar images."
image = pipe(prompt).images[0]

sd-sonio

Prompt
A healthy cardiac image from a Philipps scanner. The image should exhibit a high level of speckle noise like on the ultrasound or sar images.

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Downloads last month
6
Inference Examples
Examples
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for pbarbarant/sd-sonio

Adapter
(5)
this model