Instructions to use tralaleloss/BFS-Best-Face-Swap-Video with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tralaleloss/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,ByteDance/Bernini-R", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("tralaleloss/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:
- 6c71001043e52e1a3dd87d0e487d6268003ef90110bf50ae3dacbde21cb15399
- Size of remote file:
- 528 kB
- SHA256:
- a1a754b5ef3a954db0117bbf3bfb88e926af30e712d3f9937dcb5d4a5c6ef215
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.