Downloads · 30 days
0
Bingsu/adsd_pipeline
adsd_pipeline is a machine learning model from Bingsu. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for diffusers. The card lists the license as agpl-3.0.
github: https://github.com/Bing-su/asdff
Downloads · 30 days
0
Access
Public
Updated Oct 11, 2023
Repo size
—
Likes
3
Public
Click a slice to open those files.
.py11.4 KB · 85%
From the Hugging Face model README
import torch
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained(
"stablediffusionapi/counterfeit-v30",
torch_dtype=torch.float16,
custom_pipeline="Bingsu/adsd_pipeline"
)
pipe.safety_checker = None
pipe.to("cuda")
common = {"prompt": "masterpiece, best quality, 1girl", "num_inference_steps": 28}
result = pipe(common=common)
images = result[0]
github: https://github.com/Bing-su/asdff