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
having trouble finding SAM3Segment node for v2
#7
by IIMacGyverII - opened
V1.1 is impressive but I Can't find SAM3Segment anywhere for v2 and every node i try to download for it doesn't work. Any chance you can provide a link? Thanks!
thanks for the link but i am still having a problem with the SAM3Segment, I'm not sure what I'm missing. I am pretty good with comfyui and i have the latest comfyui from github and double checked the pip requirements install. Even wiped my custom nodes folder and only loaded this workflow to make sure I'm only installing the nodes here to rule out conflicts and wiped my computer. I know you're planning a new released workflow today. maybe that will work better for me? Seems like I'm the only one having this problem.