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") image = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,6 @@ tags:
|
|
| 10 |
- bfs
|
| 11 |
- lora
|
| 12 |
base_model:
|
| 13 |
-
- Lightricks/LTX-2
|
| 14 |
- Lightricks/LTX-2.3
|
| 15 |
library_name: diffusers
|
| 16 |
pipeline_tag: image-to-video
|
|
|
|
| 10 |
- bfs
|
| 11 |
- lora
|
| 12 |
base_model:
|
|
|
|
| 13 |
- Lightricks/LTX-2.3
|
| 14 |
library_name: diffusers
|
| 15 |
pipeline_tag: image-to-video
|