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

anhnct
/
Gligen_Text_Image

Text-to-Image
Diffusers
StableDiffusionPipeline
stable diffusion
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Diffusers

    How to use anhnct/Gligen_Text_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("anhnct/Gligen_Text_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
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
Gligen_Text_Image
18.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 20 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
cf4dbf2 verified over 1 year ago
  • image_encoder
    Adding `safetensors` variant of this model over 1 year ago
  • image_project
    Adding `safetensors` variant of this model over 1 year ago
  • processor
    Upload 5 files almost 3 years ago
  • scheduler
    Upload 15 files almost 3 years ago
  • text_encoder
    Adding `safetensors` variant of this model over 1 year ago
  • tokenizer
    Upload 15 files almost 3 years ago
  • unet
    Adding `safetensors` variant of this model over 1 year ago
  • vae
    Adding `safetensors` variant of this model over 1 year ago
  • .gitattributes
    1.57 kB
    Upload projection_matrix almost 3 years ago
  • README.md
    10.7 kB
    Update README.md almost 3 years ago
  • model_index.json
    730 Bytes
    Update model_index.json almost 3 years ago
  • projection_matrix

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    2.36 MB
    xet
    Upload projection_matrix almost 3 years ago