Instructions to use Remade/Laughing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade/Laughing 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/Laughing") prompt = "A man with dark hair wearing an orange jacket is shown in front of a brown background. He starts by looking into the camera and smiling and then he starts l4a6ing laughing. He's still l4a6ing laughing at the end." 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 4 files
Browse files- .gitattributes +3 -0
- example_videos/.DS_Store +0 -0
- example_videos/1.mp4 +3 -0
- example_videos/2.mp4 +3 -0
- example_videos/3.mp4 +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,6 @@ saved_model/**/* 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 |
workflow_I2V/workflow_screenshot.png 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 |
workflow_I2V/workflow_screenshot.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
example_videos/1.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
example_videos/2.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
example_videos/3.mp4 filter=lfs diff=lfs merge=lfs -text
|
example_videos/.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
example_videos/1.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab3181f2cabdeeb8e34520e8a14bffa9926ee84c76553316a351f62432185ae3
|
| 3 |
+
size 316009
|
example_videos/2.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d9c4eaa7e57c33e6d56443c860bc64d3bf77b841bdd04c75e701d24ad2e9053
|
| 3 |
+
size 201678
|
example_videos/3.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6621f7e85716de74b0307896d6da3db1109f7260bf7e5524f11b6bc61ae5471
|
| 3 |
+
size 331441
|