diffuzers
Project description
diffuzers
A web ui and deployable API for 🤗 diffusers.
< under development, request features using issues, prs not accepted atm >
If something doesnt work as expected, or if you need some features which are not available, then create request using github issues
Features available in the app:
- text to image
- image to image
- textual inversion
- inpainting
- outpainting (coming soon)
- image info
- stable diffusion upscaler
- gfpgan
- clip interrogator
- more coming soon!
Features available in the api:
- text to image
- image to image
- textual inversion
- inpainting
- outpainting (via inpainting)
- more coming soon!
Installation
To install bleeding edge version of diffuzers, clone the repo and install it using pip.
git clone https://github.com/abhishekkrthakur/diffuzers
cd diffuzers
pip install -e .
Installation using pip:
pip install diffuzers
Usage
To run the web app, run the following command:
diffuzers app
To run the api, run the following command:
diffuzers app
All CLI Options for running the app:
❯ diffuzers app --help
usage: diffuzers <command> [<args>] app [-h] [--output OUTPUT] [--share] [--port PORT] [--host HOST]
[--device DEVICE] [--ngrok_key NGROK_KEY]
✨ Run diffuzers app
optional arguments:
-h, --help show this help message and exit
--output OUTPUT Output path is optional, but if provided, all generations will automatically be saved to this
path.
--share Share the app
--port PORT Port to run the app on
--host HOST Host to run the app on
--device DEVICE Device to use, e.g. cpu, cuda, cuda:0, mps (for m1 mac) etc.
--ngrok_key NGROK_KEY
Ngrok key to use for sharing the app. Only required if you want to share the app
All CLI Options for running the api:
❯ diffuzers api --help
usage: diffuzers <command> [<args>] api [-h] [--output OUTPUT] [--port PORT] [--host HOST] [--device DEVICE]
[--workers WORKERS]
✨ Run diffuzers api
optional arguments:
-h, --help show this help message and exit
--output OUTPUT Output path is optional, but if provided, all generations will automatically be saved to this
path.
--port PORT Port to run the app on
--host HOST Host to run the app on
--device DEVICE Device to use, e.g. cpu, cuda, cuda:0, mps (for m1 mac) etc.
--workers WORKERS Number of workers to use
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
diffuzers-0.2.4.tar.gz
(822.7 kB
view hashes)
Built Distribution
diffuzers-0.2.4-py3-none-any.whl
(840.1 kB
view hashes)
Close
Hashes for diffuzers-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba83904b3339d99ccb5ae553d5c5fef298cfc63ebf254d4476c691c3e5fba86d |
|
MD5 | 6e13855cb749d1d7ebed3a23a7af11a7 |
|
BLAKE2b-256 | ec07aed15ff1993ef458fd034f2cd883ca022b7edfb5d13e3f273c9d7b34a2f4 |