Instructions to use joyfox/Kontext-Cosplay-Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use joyfox/Kontext-Cosplay-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.1-Kontext-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("joyfox/Kontext-Cosplay-Lora") prompt = "Turn this cat into a dog" 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
Upload 10 files
Browse files- .gitattributes +7 -0
- images/input1.jpg +0 -0
- images/input1_c.png +3 -0
- images/input2.jpg +0 -0
- images/input2_c.jpg +3 -0
- images/input3.jpg +3 -0
- images/input3_c.png +3 -0
- images/outpu2.png +3 -0
- images/output1.png +3 -0
- images/output3.png +3 -0
- kontext_cosplay_lora_20000.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
images/input1_c.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
images/input2_c.jpg filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
images/input3_c.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
images/input3.jpg filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
images/outpu2.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
images/output1.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
images/output3.png filter=lfs diff=lfs merge=lfs -text
|
images/input1.jpg
ADDED
|
images/input1_c.png
ADDED
|
Git LFS Details
|
images/input2.jpg
ADDED
|
images/input2_c.jpg
ADDED
|
Git LFS Details
|
images/input3.jpg
ADDED
|
Git LFS Details
|
images/input3_c.png
ADDED
|
Git LFS Details
|
images/outpu2.png
ADDED
|
Git LFS Details
|
images/output1.png
ADDED
|
Git LFS Details
|
images/output3.png
ADDED
|
Git LFS Details
|
kontext_cosplay_lora_20000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:047fe39c44bd7b8261223e5ecbd50969cc868089e6a21b37f18f974e25cdc27f
|
| 3 |
+
size 59794648
|