Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

pearsonkyle
/
tcg-frame-removal-klein4b

Image-to-Image
Diffusers
lora
image-editing
flux2
trading-cards
ai-toolkit
Model card Files Files and versions
xet
Community

Instructions to use pearsonkyle/tcg-frame-removal-klein4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use pearsonkyle/tcg-frame-removal-klein4b with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-4B", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("pearsonkyle/tcg-frame-removal-klein4b")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
tcg-frame-removal-klein4b
191 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
pearsonkyle's picture
pearsonkyle
Simplify file table; direct weights download link
3783d79 verified 6 days ago
  • .gitattributes
    1.76 kB
    Card de-frame LoRA v6 (FLUX.2-klein-base-4B) 19 days ago
  • README.md
    4.97 kB
    Simplify file table; direct weights download link 6 days ago
  • before_after_digimon.png
    1.26 MB
    xet
    Card de-frame LoRA v6 (FLUX.2-klein-base-4B) 19 days ago
  • before_after_mtg.png
    1.65 MB
    xet
    Card de-frame LoRA v6 (FLUX.2-klein-base-4B) 19 days ago
  • before_after_pokemon.png
    1.66 MB
    xet
    Card de-frame LoRA v6 (FLUX.2-klein-base-4B) 19 days ago
  • before_after_yugioh.png
    1.51 MB
    xet
    Card de-frame LoRA v6 (FLUX.2-klein-base-4B) 19 days ago
  • lora_klein4b.safetensors
    185 MB
    xet
    Rename weights to lora_klein4b.safetensors 6 days ago