BlobCtrl
Collection
3 items
•
Updated
BlobCtrl enables precise, user-friendly element-level visual manipulation.
Main Features: 🦉Element-level Add/Remove/Move/Replace/Enlarge/Shrink.
Watch the introduction video in our project page or YouTube.
Please check our GitHub repository for code.
Download the model checkpoint using huggingface_hub
(Version 0.1 as example):
import os
from huggingface_hub import snapshot_download
# download blobctrl models
BlobCtrl_path = "examples/blobctrl/models"
if not (os.path.exists(f"{BlobCtrl_path}/blobnet") and os.path.exists(f"{BlobCtrl_path}/unet_lora")):
BlobCtrl_path = snapshot_download(
repo_id="Yw22/BlobCtrl",
local_dir=BlobCtrl_path,
token=os.getenv("HF_TOKEN"),
)
print(f"BlobCtrl checkpoints downloaded to {BlobCtrl_path}") )
The downloaded BlobCtrl checkpoint file (blobnet&unet_lora) can be found at BlobCtrl_path
.
You can try the demo here.
Base model
stable-diffusion-v1-5/stable-diffusion-v1-5