Instructions to use Soul25r/rosto-raiva with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Soul25r/rosto-raiva 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", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Soul25r/rosto-raiva") prompt = "The man begins with a neutral expression. His expression changes to 4ngr23 angry face, and he starts yelling. He then throws his arms up while making the 4ngr23 angry face." 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 Settings
- Draw Things
Upload example_videos/2.mp4 with huggingface_hub
Browse files- example_videos/2.mp4 +3 -0
example_videos/2.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59815549dd19497445be5dd2ef738eb74b409f3bd2e943250b62cc2a977b827d
|
| 3 |
+
size 918827
|