Instructions to use AItool/diva-protagonist with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AItool/diva-protagonist with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AItool/diva-protagonist", torch_dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| license: mit | |
| language: | |
| - en | |
| - eu | |
| - es | |
| widgets: | |
| - text: <diva-protagonist> in spaghetti western | |
| output: | |
| url: output/output2.JPG | |
| - text: <diva-protagonist> on a black and white classic sci-fi movie | |
| output: | |
| url: output/output1.JPG | |
| ### diva-protagonist on Stable Diffusion via Dreambooth | |
| This your the Stable Diffusion model fine-tuned the diva-protagonist concept taught to Stable Diffusion with Dreambooth. | |
| It can be used by modifying the `instance_prompt`: **`<diva-protagonist>` woman | |
| Prompt suggestion: a `<diva-protagonist>` on a black and white movie | |
| You can also train your own concepts and upload them to the library by using [this notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_training.ipynb). | |
| And you can run your new concept via `diffusers`: [Colab Notebook for Inference](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_inference.ipynb), [Spaces with the Public Concepts loaded](https://huggingface.co/spaces/sd-dreambooth-library/stable-diffusion-dreambooth-concepts) | |
| Here are the images used for training this concept: | |
|  | |
|  | |
| Here are two outputs: | |
|  | |
|  | |