Instructions to use Anyou/MagicMakeup with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Anyou/MagicMakeup 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("Anyou/MagicMakeup", torch_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 6 files
Browse files- guider.safetensors +3 -0
- img_cross.safetensors +3 -0
- optimizer.bin +3 -0
- pytorch_lora_weights.safetensors +3 -0
- random_states_0.pkl +3 -0
- scheduler.bin +3 -0
guider.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bebf8a73adf09b3164ccd635c9164b99309ca5d5c4d0638226b1202e3efa40d9
|
| 3 |
+
size 368974496
|
img_cross.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d1ef2c9493670aa754ec6cac5adeae549058ad7662834e4ab5b38468712780e
|
| 3 |
+
size 168340552
|
optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3835a03cdfee810728030453cf6ca13b93d436ccdf0548723a2cd754fd3b9e88
|
| 3 |
+
size 4617486694
|
pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc4c87974d85a64e981cc51c8a875b341d77990c0a77e2fff1d4a1e268950d48
|
| 3 |
+
size 1733403096
|
random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e63b4c12018333be31216f356fa74a7793ed5e684a2e47108abc0a4838c1f91d
|
| 3 |
+
size 16036
|
scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:441f44b328b33e00fdbc820c3d9ca43eee811312c558d06526b9442c5d721e4d
|
| 3 |
+
size 1064
|