Instructions to use prithivMLmods/Teen-Outfit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Teen-Outfit 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("prithivMLmods/Teen-Outfit") prompt = "Teen Outfit, a teal and white jacket is adorned with a white hoodie. The jacket has a white stripe down the left side of the jacket, and two white stripes on the right and left side. On the left sleeve, there is a text written in a cursive font that is in black ink that reads \"X\" and \"X\". The jacket is positioned against a stark white backdrop, creating a striking contrast." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| - Teen | |
| - Outfit | |
| - Trendy-Dress | |
| - Flux.1-Dev | |
| widget: | |
| - text: >- | |
| Teen Outfit, a teal and white jacket is adorned with a white hoodie. The | |
| jacket has a white stripe down the left side of the jacket, and two white | |
| stripes on the right and left side. On the left sleeve, there is a text | |
| written in a cursive font that is in black ink that reads "X" and "X". The | |
| jacket is positioned against a stark white backdrop, creating a striking | |
| contrast. | |
| output: | |
| url: images/TO1.png | |
| - text: >- | |
| Teen Outfit, a jacket is hung on a hanger against a stark white backdrop. | |
| The jacket is composed of a light green and gray striped jacket, with two | |
| orange pockets on either side of the jacket. The pocket on the left side has | |
| a white tag with black text on it. The tag also has a black text that reads | |
| "N" and "M". The jacket has a zipper on the right side. | |
| output: | |
| url: images/TO2.png | |
| - text: >- | |
| Teen Outfit, a light brown and white varsity jacket is hung on a black wall. | |
| The jacket is adorned with a white collar, white stripes and the words "FORE | |
| CAST" in bold white letters. A keychain is hanging from the collar, adding a | |
| touch of charm to the jacket. | |
| output: | |
| url: images/TO3.png | |
| - text: >- | |
| Teen Outfit: A cropped denim jacket with frayed edges, hanging from a black | |
| metal hanger against a white brick wall. The jacket is a light wash with a | |
| faded floral pattern on the back and a small silver star pin on the right | |
| lapel. The left sleeve has a hand-painted design in pastel colors that says | |
| WILD in playful, graffiti-style text. | |
| output: | |
| url: images/TO4.png | |
| - text: >- | |
| Teen Outfit: An olive-green military-inspired jacket with multiple front | |
| pockets, displayed on a mannequin against a sandy beige background. The | |
| jacket has epaulets on the shoulders, a drawstring waist, and a subtle patch | |
| that reads "BRV" on the right arm in dark green. The left pocket has a small | |
| silver pin in the shape of a lightning bolt. | |
| output: | |
| url: images/TO5.png | |
| - text: >- | |
| Teen Outfit: A pastel pink raincoat with a clear plastic overlay, hanging on | |
| a bamboo hanger against a navy blue background. The raincoat has snap | |
| closures down the front and two side pockets with clear flaps. On the upper | |
| back, there’s a delicate white floral design in an outlined style, adding an | |
| artistic touch. | |
| output: | |
| url: images/TO6.png | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: Teen Outfit | |
| license: creativeml-openrail-m | |
| # Teen-Outfit | |
| <Gallery /> | |
| - Hosted Here🧨: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC | |
| **The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.** | |
| ## Model description | |
| **prithivMLmods/Teen-Outfit** | |
| Image Processing Parameters | |
| | Parameter | Value | Parameter | Value | | |
| |---------------------------|--------|---------------------------|--------| | |
| | LR Scheduler | constant | Noise Offset | 0.03 | | |
| | Optimizer | AdamW | Multires Noise Discount | 0.1 | | |
| | Network Dim | 64 | Multires Noise Iterations | 10 | | |
| | Network Alpha | 32 | Repeat & Steps | 25 & 2990| | |
| | Epoch | 16 | Save Every N Epochs | 1 | | |
| Labeling: florence2-en(natural language & English) | |
| Total Images Used for Training : 17 [ Hi-RES ] | |
| ## Best Dimensions | |
| - 1024 x 1024 (Default) | |
| ## Setting Up | |
| ``` | |
| import torch | |
| from pipelines import DiffusionPipeline | |
| base_model = "black-forest-labs/FLUX.1-dev" | |
| pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16) | |
| lora_repo = "prithivMLmods/Teen-Outfit" | |
| trigger_word = "Teen Outfit" | |
| pipe.load_lora_weights(lora_repo) | |
| device = torch.device("cuda") | |
| pipe.to(device) | |
| ``` | |
| ## Trigger words | |
| You should use `Teen Outfit` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/prithivMLmods/Teen-Outfit/tree/main) them in the Files & versions tab. | |
| . | |
| . | |
| .@prithivMLmods |