Instructions to use theponpon/red_baseball_cap_cutouts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use theponpon/red_baseball_cap_cutouts 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("theponpon/red_baseball_cap_cutouts") prompt = "The main object in the picture is a red baseball cap with a smooth fabric texture and a curved, semi-round shape. The cap is oriented with the back facing towards the viewer, showcasing an adjustable black plastic strap with small holes for sizing. The cap features white stitch details, including a central stitch line dividing the back into two symmetrical panels and two small circular white stitched holes, one on each panel. The cap has no visible text or logos. The object is supported by a white background, which provides a clean and unobtrusive backdrop that sharply contrasts with the vibrant red color of the cap." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Add 2 files
Browse files
flux_lora_v1_32_pro2dev_no_trigger_3.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07ceda386e1483b36516ff4a92615c6cdae0990e53c320fc7861df7fd8e26d47
|
| 3 |
+
size 343806416
|
images/take_107.jpg
ADDED
|
Git LFS Details
|