Instructions to use fal/virtual-tryoff-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fal/virtual-tryoff-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-9B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("fal/virtual-tryoff-lora") prompt = "TRYOFF extract the t-shirt over a white background, product photography style. NO HUMAN VISIBLE (the garments maintain their 3D form like an invisible mannequin)." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,27 +11,33 @@ widget:
|
|
| 11 |
- output:
|
| 12 |
url: images/5.png
|
| 13 |
text: >-
|
| 14 |
-
TRYOFF extract the t-shirt over a white background, product photography
|
| 15 |
-
|
| 16 |
- output:
|
| 17 |
url: images/3.png
|
| 18 |
-
text:
|
|
|
|
|
|
|
| 19 |
- output:
|
| 20 |
url: images/2.png
|
| 21 |
-
text:
|
|
|
|
|
|
|
| 22 |
- output:
|
| 23 |
url: images/6.png
|
| 24 |
-
text:
|
|
|
|
|
|
|
| 25 |
- output:
|
| 26 |
url: images/1.png
|
| 27 |
text: >-
|
| 28 |
-
TRYOFF extract the t-shirt over a white background, product photography
|
| 29 |
-
|
| 30 |
- output:
|
| 31 |
url: images/4.png
|
| 32 |
text: >-
|
| 33 |
-
TRYOFF extract the upper body over a white background, product photography
|
| 34 |
-
|
| 35 |
- output:
|
| 36 |
url: images/7.png
|
| 37 |
text: >-
|
|
|
|
| 11 |
- output:
|
| 12 |
url: images/5.png
|
| 13 |
text: >-
|
| 14 |
+
TRYOFF extract the t-shirt over a white background, product photography style.
|
| 15 |
+
NO HUMAN VISIBLE (the garments maintain their 3D form like an invisible mannequin).
|
| 16 |
- output:
|
| 17 |
url: images/3.png
|
| 18 |
+
text: >-
|
| 19 |
+
TRYOFF extract the dress over a white background, product photography style.
|
| 20 |
+
NO HUMAN VISIBLE (the garments maintain their 3D form like an invisible mannequin).
|
| 21 |
- output:
|
| 22 |
url: images/2.png
|
| 23 |
+
text: >-
|
| 24 |
+
TRYOFF extract the pants over a white background, product photography style.
|
| 25 |
+
NO HUMAN VISIBLE (the garments maintain their 3D form like an invisible mannequin).
|
| 26 |
- output:
|
| 27 |
url: images/6.png
|
| 28 |
+
text: >-
|
| 29 |
+
TRYOFF extract the outfit over a white background, product photography style.
|
| 30 |
+
NO HUMAN VISIBLE (the garments maintain their 3D form like an invisible mannequin).
|
| 31 |
- output:
|
| 32 |
url: images/1.png
|
| 33 |
text: >-
|
| 34 |
+
TRYOFF extract the t-shirt over a white background, product photography style.
|
| 35 |
+
NO HUMAN VISIBLE (the garments maintain their 3D form like an invisible mannequin).
|
| 36 |
- output:
|
| 37 |
url: images/4.png
|
| 38 |
text: >-
|
| 39 |
+
TRYOFF extract the upper body over a white background, product photography style.
|
| 40 |
+
NO HUMAN VISIBLE (the garments maintain their 3D form like an invisible mannequin).
|
| 41 |
- output:
|
| 42 |
url: images/7.png
|
| 43 |
text: >-
|