Instructions to use SSBOfficial/BFS-Best-Face-Swap-Video with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SSBOfficial/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("SSBOfficial/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") image = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- 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.