Instructions to use serbdev/test-8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use serbdev/test-8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("serbdev/test-8") prompt = "p3rs0n a man and woman shaking hands in front of a black background. The man is wearing a suit and tie, while the woman has her arm around the man's shoulder. There is a plant in a pot to the right of them, and a few other objects in the background." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - flux | |
| - lora | |
| - diffusers | |
| - template:sd-lora | |
| - fluxgym | |
| widget: | |
| - output: | |
| url: sample/ilustrations_000320_00_20241022112310.png | |
| text: p3rs0n a man and woman shaking hands in front of a black background. The | |
| man is wearing a suit and tie, while the woman has her arm around the man's | |
| shoulder. There is a plant in a pot to the right of them, and a few other | |
| objects in the background. | |
| - output: | |
| url: sample/ilustrations_000320_01_20241022112319.png | |
| text: p3rs0n a man in a black shirt and white pants holding a cell phone, surrounded | |
| by plants and a board with numbers on it. The background is dark, suggesting | |
| the man is in the middle of a game. | |
| - output: | |
| url: sample/ilustrations_000320_02_20241022112328.png | |
| text: p3rs0n a woman sitting on top of a pie chart next to a black cat. She is | |
| wearing a white shirt and blue jeans, and her hair is pulled back in a ponytail. | |
| The pie chart is divided into sections, each with a different color, and the | |
| cat is looking up at her with a curious expression. The background is dark, | |
| giving the image an animated feel. | |
| - output: | |
| url: sample/ilustrations_000320_03_20241022112337.png | |
| text: p3rs0n a woman sitting at a table with a plate of food in front of her. | |
| On the table there is a glass, a fork, a knife, and other items. There is | |
| also a pot with a plant on the left side of the table. In the background, | |
| there are various items hanging on the wall. The image is in black and white. | |
| base_model: black-forest-labs/FLUX.1-schnell | |
| instance_prompt: p3rs0n | |
| license: apache-2.0 | |
| # Ilustrations | |
| A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym) | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `p3rs0n` to trigger the image generation. | |
| ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc. | |
| Weights for this model are available in Safetensors format. | |