Metadata-Version: 2.1
Name: diffusionui
Version: 0.0.1
Summary: Unified Stable Diffusion pipeline for diffusers
Home-page: https://github.com/leszekhanusz/diffusion-ui-backend
Author: Leszek Hanusz
Author-email: leszek.hanusz@gmail.com
License: Apache
Keywords: diffusers stable-diffusion
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

# diffusion-ui-backend

This repository provides a unified [Stable Diffusion](https://github.com/CompVis/stable-diffusion) pipeline to generate images using the same pipeline with [diffusers](https://github.com/huggingface/diffusers) for:

- text-to-image
- image-to-image
- inpainting

This pipeline cannot be imported directly from diffusers because of the [diffusers philosophy](https://github.com/huggingface/diffusers/issues/307).

and a gradio interface to provide an API to this pipeline.

## Installation

```bash
pip install diffusionui
```

## Usage

```
from diffusionui import StableDiffusionPipeline
```

Then use any of the examples from [diffusers](https://github.com/huggingface/diffusers) by replacing `StableDiffusionImg2ImgPipeline` and `StableDiffusionInpaintPipeline` by `StableDiffusionPipeline`.


