Instructions to use TheAwakenOne/The-Mask-Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TheAwakenOne/The-Mask-Lora 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-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("TheAwakenOne/The-Mask-Lora") prompt = "the mask style a man in a black suit and hat that reads \"Try Me\" on it, with a grin on his face, holding a bunch of guns, wearing a green mask, " image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Add generated example
#6
by TheAwakenOne - opened
- README.md +5 -0
- images/example_qdb9zv446.png +3 -0
README.md
CHANGED
|
@@ -55,6 +55,11 @@ widget:
|
|
| 55 |
his shirt revealing his muscles, wearing a green mask
|
| 56 |
output:
|
| 57 |
url: images/example_p4ihp3ye8.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
base_model: black-forest-labs/FLUX.1-dev
|
| 59 |
instance_prompt: the mask style
|
| 60 |
license: other
|
|
|
|
| 55 |
his shirt revealing his muscles, wearing a green mask
|
| 56 |
output:
|
| 57 |
url: images/example_p4ihp3ye8.png
|
| 58 |
+
- text: >-
|
| 59 |
+
the mask style, with a black baseball cap that reads “BOO”, with a
|
| 60 |
+
mysterious smile on face, (wearing a green mask), disguised as spiderman
|
| 61 |
+
output:
|
| 62 |
+
url: images/example_qdb9zv446.png
|
| 63 |
base_model: black-forest-labs/FLUX.1-dev
|
| 64 |
instance_prompt: the mask style
|
| 65 |
license: other
|
images/example_qdb9zv446.png
ADDED
|
Git LFS Details
|