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

  • Log In
  • Sign Up

AltLuv
/
text-to-image

Diffusers
Safetensors
UTTIPipeline
Model card Files Files and versions
xet
Community

Instructions to use AltLuv/text-to-image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use AltLuv/text-to-image with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("AltLuv/text-to-image", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
text-to-image / text_encoder
738 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
AltLuv's picture
AltLuv
End of training
d5742ac over 2 years ago
  • config.json
    612 Bytes
    End of training over 2 years ago
  • flax_model.msgpack
    492 MB
    xet
    End of training over 2 years ago
  • model.safetensors
    246 MB
    xet
    End of training over 2 years ago