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
|
@@ -9,31 +9,31 @@ tags:
|
|
| 9 |
- template:diffusion-lora
|
| 10 |
widget:
|
| 11 |
- output:
|
| 12 |
-
url: images/
|
| 13 |
text: >-
|
| 14 |
TRYOFF extract the t-shirt over a white background, product photography
|
| 15 |
style
|
| 16 |
- output:
|
| 17 |
-
url: images/
|
| 18 |
text: TRYOFF extract the dress over a white background, product photography style
|
| 19 |
- output:
|
| 20 |
-
url: images/
|
| 21 |
text: TRYOFF extract the pants over a white background, product photography style
|
| 22 |
- output:
|
| 23 |
-
url: images/
|
| 24 |
text: TRYOFF extract the outfit over a white background, product photography style
|
| 25 |
- output:
|
| 26 |
-
url: images/
|
| 27 |
text: >-
|
| 28 |
TRYOFF extract the t-shirt over a white background, product photography
|
| 29 |
style
|
| 30 |
- output:
|
| 31 |
-
url: images/
|
| 32 |
text: >-
|
| 33 |
TRYOFF extract the upper body over a white background, product photography
|
| 34 |
style
|
| 35 |
- output:
|
| 36 |
-
url: images/
|
| 37 |
text: >-
|
| 38 |
TRYOFF extract full outfit in the reference image over a white background,
|
| 39 |
high-end professional product photography. Present the outfit as a complete,
|
|
|
|
| 9 |
- template:diffusion-lora
|
| 10 |
widget:
|
| 11 |
- output:
|
| 12 |
+
url: images/5.png
|
| 13 |
text: >-
|
| 14 |
TRYOFF extract the t-shirt over a white background, product photography
|
| 15 |
style
|
| 16 |
- output:
|
| 17 |
+
url: images/3.png
|
| 18 |
text: TRYOFF extract the dress over a white background, product photography style
|
| 19 |
- output:
|
| 20 |
+
url: images/2.png
|
| 21 |
text: TRYOFF extract the pants over a white background, product photography style
|
| 22 |
- output:
|
| 23 |
+
url: images/6.png
|
| 24 |
text: TRYOFF extract the outfit over a white background, product photography style
|
| 25 |
- output:
|
| 26 |
+
url: images/1.png
|
| 27 |
text: >-
|
| 28 |
TRYOFF extract the t-shirt over a white background, product photography
|
| 29 |
style
|
| 30 |
- output:
|
| 31 |
+
url: images/4.png
|
| 32 |
text: >-
|
| 33 |
TRYOFF extract the upper body over a white background, product photography
|
| 34 |
style
|
| 35 |
- output:
|
| 36 |
+
url: images/7.png
|
| 37 |
text: >-
|
| 38 |
TRYOFF extract full outfit in the reference image over a white background,
|
| 39 |
high-end professional product photography. Present the outfit as a complete,
|