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

  • Log In
  • Sign Up

ahmadmac
/
Images_Generation

Text-to-Image
Diffusers
Safetensors
PyTorch
StableDiffusionPipeline
stable-diffusion
diffusion-models-class
dreambooth-hackathon
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Diffusers

    How to use ahmadmac/Images_Generation with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ahmadmac/Images_Generation", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "a photo of Ahmad, with a neatly trimmed beard and styled hair, wearing a dark green sweater and black jeans, sitting in a rustic café with a cup of tea and a notebook."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Images_Generation / text_encoder
492 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
ahmadmac's picture
ahmadmac
Upload folder using huggingface_hub
83fa646 verified almost 2 years ago
  • config.json
    612 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • model.safetensors
    492 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago