Instructions to use Alissonerdx/BFS-Best-Face-Swap-Video with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Alissonerdx/BFS-Best-Face-Swap-Video 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("Lightricks/LTX-2.3", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Alissonerdx/BFS-Best-Face-Swap-Video") prompt = "A man with short gray hair plays a red electric guitar." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") output = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Download examples/2.mp4 from Alissonerdx/BFS-Best-Face-Swap-Video: direct link, hf CLI and curl.
- Browser
- Download file 31.2 MB
-
https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap-Video/resolve/main/examples/2.mp4
- Command line
-
hf download hf://Alissonerdx/BFS-Best-Face-Swap-Video/examples/2.mp4
-
curl -L -o 2.mp4 https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap-Video/resolve/main/examples/2.mp4
31.2 MB
- Xet hash:
- c45d858455cedafd240091f396afaf2dc6db6b736bf78209a92a387535f1418c
- Size of remote file:
- 31.2 MB
- SHA256:
- fd30caefa2bbefe1bdc8927855bf472dce67bdb83e25eaa46255f073f4f79885
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.