Stable Diffusion
Project description
Diffusion WebUI: Stable Diffusion + ControlNet + Inpaint
Installation
git clone https://github.com/kadirnar/dress_diff
cd dress_diff
pip install -r requirements.txt
pip install -e.
Web Demo Usage
from dress_diff import app
app()
Text2Image API Usage
from dress_diff import StableDiffusionText2ImageGenerator, get_scheduler_list, scheduler_list
generate = StableDiffusionText2ImageGenerator().generate_image(
model_path="dress_diff",
prompt="dress",
negative_prompt="bad,ugly",
num_images_per_prompt=1,
scheduler=scheduler_list[0],
guidance_scale=7.5,
num_inference_steps=50,
height=512,
width=512,
seed_generator=0 # 0 for random seed
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dress_diff-0.1.0.tar.gz
(15.5 kB
view details)
File details
Details for the file dress_diff-0.1.0.tar.gz
.
File metadata
- Download URL: dress_diff-0.1.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52c22bad020c5c2dd384c59440096392f4b4c95f8a04764fa93f75381832a666 |
|
MD5 | e2a14d5e9f71c8cec88d6aa5221487dc |
|
BLAKE2b-256 | d020cf04e7e309da9b7bde1e5cbf3e385dcce6fea25e6d8b8507e4cd4470ccd0 |