Instructions to use serbdev/another-lora-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use serbdev/another-lora-2 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/another-lora-2") prompt = "p3rs0n a man walking his dog on a leash, holding a magnifying glass in his hand. He is wearing a blue shirt and jeans, and has a determined expression on his face. The dog is a medium-sized breed with a white and brown coat. The background of the image is a bright blue sky with white clouds. --d 40" 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/another-lora-2_006000_03_20241022135036.png | |
| text: p3rs0n a man walking his dog on a leash, holding a magnifying glass in his | |
| hand. He is wearing a blue shirt and jeans, and has a determined expression | |
| on his face. The dog is a medium-sized breed with a white and brown coat. | |
| The background of the image is a bright blue sky with white clouds. --d 40 | |
| - output: | |
| url: sample/another-lora-2_005500_03_20241022134234.png | |
| text: p3rs0n a man sitting at a desk with a laptop computer in front of him. He | |
| is wearing a cap and there is a plant in the background. --d 40 | |
| - output: | |
| url: sample/another-lora-2_005000_03_20241022133427.png | |
| text: p3rs0n a man and woman sitting at a table with a whiteboard in front of | |
| them. The man is standing and pointing to the whiteboard, while the woman | |
| is sitting on a bench. On the table there are various objects, and the background | |
| is white. --d 40 | |
| - output: | |
| url: sample/another-lora-2_006000_04_20241022135045.png | |
| text: p3rs0n a man sitting at a desk with a laptop computer in front of him. On | |
| the desk there is a monitor, keyboard, and a cup, and in the background there | |
| are papers with text written on them. To the left of the desk is a flower | |
| pot. | |
| - output: | |
| url: sample/another-lora-2_005500_04_20241022134243.png | |
| text: p3rs0n a man and woman shaking hands in front of a white background. The | |
| man is wearing a suit and tie, while the woman is wearing casual clothing. | |
| Both of them have a friendly expression on their faces, suggesting they are | |
| in a professional setting. | |
| base_model: black-forest-labs/FLUX.1-schnell | |
| instance_prompt: p3rs0n | |
| license: apache-2.0 | |
| # Another Lora - 2 | |
| 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. | |