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
|
@@ -33,11 +33,11 @@ widget:
|
|
| 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 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
- output:
|
| 42 |
url: images/7.png
|
| 43 |
text: >-
|
|
|
|
| 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: >-
|