Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Texttra
/
Bh0r

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use Texttra/Bh0r with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Texttra/Bh0r")
    
    prompt = "<lora:Bh0r:.8> Bh0r in tortoise shell, red lenses, dark-skinned woman with braids, neutral expression, wearing a black track jacket, front-facing portrait of sunglasses, flat white concrete wall background, daylight, hyper realistic, film photograph"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Bh0r
52.5 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
Texttra's picture
Texttra
Update handler.py
4366d86 verified 12 months ago
  • images
    Add 2 files about 1 year ago
  • .gitattributes
    2.31 kB
    initial commit about 1 year ago
  • Bh0r-10.safetensors
    50.9 MB
    xet
    Add 2 files about 1 year ago
  • README.md
    903 Bytes
    initial commit about 1 year ago
  • handler.py
    1.98 kB
    Update handler.py 12 months ago