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
/
SpectraGen

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

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

  • Libraries
  • Diffusers

    How to use Saad381/SpectraGen with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Saad381/SpectraGen")
    
    prompt = "Goku"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
SpectraGen / images
980 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
Saad381's picture
Saad381
Add generated example
159a26c verified over 1 year ago
  • 25452979.jpeg
    33.7 kB
    xet
    Add 2 files over 1 year ago
  • example_3kjr9oish.png
    165 kB
    xet
    Add generated example (#5) over 1 year ago
  • example_7yty28oho.png
    163 kB
    xet
    Add generated example over 1 year ago
  • example_al6a30ro4.png
    206 kB
    xet
    Add generated example (#1) over 1 year ago
  • example_g3t230v45.png
    118 kB
    xet
    Add generated example (#2) over 1 year ago
  • example_y471grfjx.png
    116 kB
    xet
    Add generated example (#3) over 1 year ago
  • example_zyhsu444m.png
    180 kB
    xet
    Add generated example (#4) over 1 year ago