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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Wangchuk1376
/
ThangkaModels

Image-to-Image
Diffusers
Safetensors
PaddlePaddle
Chinese
English
thangka
image-restoration
stable-diffusion
lora
cultural-heritage
buddhist-art
Model card Files Files and versions
xet
Community

Instructions to use Wangchuk1376/ThangkaModels with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Wangchuk1376/ThangkaModels 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("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Wangchuk1376/ThangkaModels")
    
    prompt = "traditional thangka art, Shakyamuni Buddha, detailed painting, vibrant colors, gold outlines"
    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
  • Draw Things
ThangkaModels
22.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Wangchuk1376's picture
Wangchuk1376
Update README.md
29e00b3 verified 7 months ago
  • models
    Upload folder using huggingface_hub 7 months ago
  • .DS_Store
    6.15 kB
    Upload folder using huggingface_hub 7 months ago
  • .gitattributes
    2.71 kB
    Upload folder using huggingface_hub 7 months ago
  • README.md
    7.26 kB
    Update README.md 7 months ago
  • fix_upload_issues.md
    6.72 kB
    Upload folder using huggingface_hub 7 months ago
  • upload_models.py
    10 kB
    Upload folder using huggingface_hub 7 months ago
  • upload_to_huggingface.sh
    8.48 kB
    Upload folder using huggingface_hub 7 months ago