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

  • Log In
  • Sign Up

lokesh6309
/
Diff_Face

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

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

  • Libraries
  • Diffusers

    How to use lokesh6309/Diff_Face with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("lokesh6309/Diff_Face")
    
    prompt = "A rugged face with a thick mustache, dark eyes under a wide-brimmed hat. The expression is stern and untrustworthy, with wrinkles indicating years of experience as a notorious thief. Dressed in worn-out clothes, he carries an air of danger.."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Diff_Face
27.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
lokesh6309's picture
lokesh6309
Upload prompt1.png
c38afc2 verified over 1 year ago
  • .gitattributes
    1.6 kB
    Upload 6 files over 1 year ago
  • Celeba30000_llava_v1.6_13b_4bit_prompt.jsonl
    6.85 MB
    Upload 6 files over 1 year ago
  • FFHQ70000_llava_v1.6_13b_4bit_prompt.jsonl
    16.5 MB
    xet
    Upload 6 files over 1 year ago
  • README.md
    2.44 kB
    Update README.md over 1 year ago
  • gradio_inference_t2i_lora.py
    2.17 kB
    Upload 6 files over 1 year ago
  • prompt1.png
    499 kB
    Upload prompt1.png over 1 year ago
  • pytorch_lora_weights.safetensors
    3.23 MB
    xet
    Upload 6 files over 1 year ago
  • train_text_to_image_lora.py
    37.6 kB
    Upload 6 files over 1 year ago