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

xiaolxl
/
Gf_style2

Text-to-Image
Diffusers
English
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Diffusers

    How to use xiaolxl/Gf_style2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("xiaolxl/Gf_style2", 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
Gf_style2
Ctrl+K
Ctrl+K
  • 2 contributors
History: 15 commits
xiaolxl's picture
xiaolxl
Lunatic22's picture
Lunatic22
Add Diffusers weights (#1)
95d1437 over 3 years ago
  • examples
    Upload 2 files over 3 years ago
  • feature_extractor
    Add Diffusers weights (#1) over 3 years ago
  • safety_checker
    Add Diffusers weights (#1) over 3 years ago
  • scheduler
    Add Diffusers weights (#1) over 3 years ago
  • text_encoder
    Add Diffusers weights (#1) over 3 years ago
  • tokenizer
    Add Diffusers weights (#1) over 3 years ago
  • unet
    Add Diffusers weights (#1) over 3 years ago
  • vae
    Add Diffusers weights (#1) over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • Gf_style2.ckpt

    Detected Pickle imports (4)

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

    What is a pickle import?

    4.27 GB
    xet
    Upload Gf_style2.ckpt over 3 years ago
  • README.md
    3.85 kB
    Update README.md over 3 years ago
  • model_index.json
    584 Bytes
    Add Diffusers weights (#1) over 3 years ago