Instructions to use jdopensource/JoyAI-Image-Edit-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jdopensource/JoyAI-Image-Edit-Diffusers 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("jdopensource/JoyAI-Image-Edit-Diffusers", dtype=torch.bfloat16, device_map="cuda") 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] - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- .gitattributes +6 -0
- test_images/input1.png +3 -0
- test_images/input2.png +3 -0
- test_images/input3.png +3 -0
- test_images/output1_predicted.png +3 -0
- test_images/output2_predicted.png +3 -0
- test_images/output3_predicted.png +3 -0
.gitattributes
CHANGED
|
@@ -36,3 +36,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 36 |
processor/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
test_images/input.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
processor/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
test_images/input.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
test_images/input1.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
test_images/input2.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
test_images/input3.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
test_images/output1_predicted.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
test_images/output2_predicted.png filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
test_images/output3_predicted.png filter=lfs diff=lfs merge=lfs -text
|
test_images/input1.png
ADDED
|
Git LFS Details
|
test_images/input2.png
ADDED
|
Git LFS Details
|
test_images/input3.png
ADDED
|
Git LFS Details
|
test_images/output1_predicted.png
ADDED
|
Git LFS Details
|
test_images/output2_predicted.png
ADDED
|
Git LFS Details
|
test_images/output3_predicted.png
ADDED
|
Git LFS Details
|