<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
)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/kadirnar/dress_diff",
"name": "dress-diff",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "machine-learning,deep-learning,pytorch,vision,yolov6,yolox,object-detection,yolov7,detector,yolov5",
"author": "kadirnar",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/d0/20/cf04e7e309da9b7bde1e5cbf3e385dcce6fea25e6d8b8507e4cd4470ccd0/dress_diff-0.1.0.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n<h2>\n Diffusion WebUI: Stable Diffusion + ControlNet + Inpaint\n</h2>\n<h4>\n <img width=\"700\" alt=\"teaser\" src=\"data/logo.png\">\n</h4>\n</div>\n\n### Installation\n```bash\ngit clone https://github.com/kadirnar/dress_diff\ncd dress_diff\npip install -r requirements.txt\npip install -e.\n```\n\n### Web Demo Usage\n```python\nfrom dress_diff import app\n\napp()\n```\n\n### Text2Image API Usage\n```python\nfrom dress_diff import StableDiffusionText2ImageGenerator, get_scheduler_list, scheduler_list\n\ngenerate = StableDiffusionText2ImageGenerator().generate_image(\n model_path=\"dress_diff\",\n prompt=\"dress\",\n negative_prompt=\"bad,ugly\",\n num_images_per_prompt=1,\n scheduler=scheduler_list[0],\n guidance_scale=7.5,\n num_inference_steps=50,\n height=512,\n width=512,\n seed_generator=0 # 0 for random seed\n)\n```\n",
"bugtrack_url": null,
"license": "Apache License 2.0",
"summary": "Stable Diffusion",
"version": "0.1.0",
"split_keywords": [
"machine-learning",
"deep-learning",
"pytorch",
"vision",
"yolov6",
"yolox",
"object-detection",
"yolov7",
"detector",
"yolov5"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d020cf04e7e309da9b7bde1e5cbf3e385dcce6fea25e6d8b8507e4cd4470ccd0",
"md5": "e2a14d5e9f71c8cec88d6aa5221487dc",
"sha256": "52c22bad020c5c2dd384c59440096392f4b4c95f8a04764fa93f75381832a666"
},
"downloads": -1,
"filename": "dress_diff-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "e2a14d5e9f71c8cec88d6aa5221487dc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 15531,
"upload_time": "2023-04-16T19:25:58",
"upload_time_iso_8601": "2023-04-16T19:25:58.124780Z",
"url": "https://files.pythonhosted.org/packages/d0/20/cf04e7e309da9b7bde1e5cbf3e385dcce6fea25e6d8b8507e4cd4470ccd0/dress_diff-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-16 19:25:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "kadirnar",
"github_project": "dress_diff",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "dress-diff"
}