Metadata-Version: 2.1
Name: diffuzers
Version: 0.0.3
Summary: diffuzers
Home-page: https://github.com/abhishekkrthakur/diffuzers
Author: Abhishek Thakur
License: UNKNOWN
Keywords: diffuzers diffusers
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Requires-Dist: diffusers (==0.11.1)
Requires-Dist: gradio (==3.15.0)
Requires-Dist: loguru (==0.6.0)
Requires-Dist: torch (>=1.12.0)
Provides-Extra: dev
Requires-Dist: black (~=22.0) ; extra == 'dev'
Requires-Dist: isort (==5.8.0) ; extra == 'dev'
Requires-Dist: flake8 (==3.9.2) ; extra == 'dev'
Requires-Dist: mypy (==0.901) ; extra == 'dev'
Provides-Extra: docs
Requires-Dist: recommonmark ; extra == 'docs'
Requires-Dist: sphinx (==3.1.2) ; extra == 'docs'
Requires-Dist: sphinx-markdown-tables ; extra == 'docs'
Requires-Dist: sphinx-rtd-theme (==0.4.3) ; extra == 'docs'
Requires-Dist: sphinx-copybutton ; extra == 'docs'
Provides-Extra: quality
Requires-Dist: black (~=22.0) ; extra == 'quality'
Requires-Dist: isort (==5.8.0) ; extra == 'quality'
Requires-Dist: flake8 (==3.9.2) ; extra == 'quality'
Requires-Dist: mypy (==0.901) ; extra == 'quality'
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'

# diffuzers

A web ui for [🤗 diffusers](https://github.com/huggingface/diffusers).

< under development, request features using issues, prs not accepted atm >

## Installation

To install bleeding edge version of diffuzers, clone the repo and install it using pip.

```bash
git clone https://github.com/abhishekkrthakur/diffuzers
cd diffuzers
pip install -e .
```

Installation using pip:
    
```bash 
pip install diffuzers
```

## Usage

To run the web app, run the following command:

```bash
diffuzers run --model_path <path to model> --image_size <image size>
``` 
    
For example, to run the web app for the [stable diffusion 2.1](https://huggingface.co/stabilityai/stable-diffusion-2-1) model, run the following command:


```bash
diffuzers run --model_path stabilityai/stable-diffusion-2-1 --image_size 768
```

Please note to use the correct image size for the model. For example, for the [stable diffusion 2.1](https://huggingface.co/stabilityai/stable-diffusion-2-1) model, the image size is 768. For the [stable diffusion 2.1 base](https://huggingface.co/stabilityai/stable-diffusion-2-1-base) model, the image size is 512.


The webapp runs on port 7860.

