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

Saad381
/
Spectra-V1

Text-to-Image
Diffusers
TensorBoard
English
stable-diffusion-xl
stable-diffusion-xl-diffusers
lora
Model card Files Files and versions
xet
Metrics Training metrics Community
13

Instructions to use Saad381/Spectra-V1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Saad381/Spectra-V1 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("Saad381/Spectra-V1")
    
    prompt = "A cyberpunk car"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
Spectra-V1 / images
1.63 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
Saad381's picture
Saad381
Add generated example (#13)
a3b2826 verified 10 months ago
  • 2a191c7a-4713-4518-a9cb-17b3613a7698.jpeg
    139 kB
    Upload 2a191c7a-4713-4518-a9cb-17b3613a7698.jpeg over 1 year ago
  • example_2nf7zmfwx.png
    88 kB
    Add generated example (#2) over 1 year ago
  • example_dipqvfyhj.png
    119 kB
    Add generated example (#7) over 1 year ago
  • example_fcy8fmi5u.png
    164 kB
    Add generated example (#8) over 1 year ago
  • example_hmfcurz4k.png
    130 kB
    Add generated example (#11) over 1 year ago
  • example_jdwvlgbdu.png
    109 kB
    Add generated example (#10) over 1 year ago
  • example_t7z0wb8b9.png
    107 kB
    Add generated example (#5) over 1 year ago
  • example_u5ab6p6hd.png
    108 kB
    Add generated example (#9) over 1 year ago
  • example_unh7hf1la.png
    271 kB
    xet
    Add generated example (#13) 10 months ago
  • example_vk1po3x8y.png
    97.6 kB
    Add generated example (#4) over 1 year ago
  • example_vkk5pp8bm.png
    168 kB
    Add generated example (#12) over 1 year ago
  • example_zkqx9zmy2.png
    132 kB
    Add generated example (#3) over 1 year ago