Metadata-Version: 2.1
Name: dress-diff
Version: 0.1.0
Summary: Stable Diffusion
Home-page: https://github.com/kadirnar/dress_diff
Author: kadirnar
License: Apache License 2.0
Keywords: machine-learning,deep-learning,pytorch,vision,yolov6,yolox,object-detection,yolov7,detector,yolov5
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Education
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

<div align="center">
<h2>
    Diffusion WebUI: Stable Diffusion + ControlNet + Inpaint
</h2>
<h4>
    <img width="700" alt="teaser" src="data/logo.png">
</h4>
</div>

### Installation
```bash
git clone https://github.com/kadirnar/dress_diff
cd dress_diff
pip install -r requirements.txt
pip install -e.
```

### Web Demo Usage
```python
from dress_diff import app

app()
```

### Text2Image API Usage
```python
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
)
```
