Instructions to use Remade-AI/Puppy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Puppy with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-I2V-14B-480P,Wan-AI/Wan2.1-I2V-14B-480P-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Remade-AI/Puppy") prompt = "The video begins with a close-up portrait of a man wearing a suit. The background changes and then the pu11y puppy effect begins. The man is now surrounded by many puppies. He pets the puppies. " input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") image = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
Upload 3 files
Browse files- .gitattributes +3 -0
- example_videos/man1_puppy.mp4 +3 -0
- example_videos/man2_puppy.mp4 +3 -0
- example_videos/man3_puppy.mp4 +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ 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 |
+
example_videos/man1_puppy.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
example_videos/man2_puppy.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
example_videos/man3_puppy.mp4 filter=lfs diff=lfs merge=lfs -text
|
example_videos/man1_puppy.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a564308f285d285463333905e2102722ac06c4224e134caee7812dd594655ccb
|
| 3 |
+
size 589411
|
example_videos/man2_puppy.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed974f54c457f8fc7821512a38ae937c9b6c883335c837ae66814767e22a0dab
|
| 3 |
+
size 446705
|
example_videos/man3_puppy.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:890044d87d0d76b568095d7d4b96ae4156432b584f830ac74198c44e7a8ba71d
|
| 3 |
+
size 449770
|