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

  • Log In
  • Sign Up

bethecloud
/
golf-course-generator

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

Instructions to use bethecloud/golf-course-generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use bethecloud/golf-course-generator with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("bethecloud/golf-course-generator", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "a photo of golf course with the Acropolis from Ancient Greece in the background"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
golf-course-generator / tokenizer
1.59 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 1 commit
bethecloud's picture
bethecloud
Upload with huggingface_hub
338cd0e over 3 years ago
  • merges.txt
    525 kB
    Upload with huggingface_hub over 3 years ago
  • special_tokens_map.json
    472 Bytes
    Upload with huggingface_hub over 3 years ago
  • tokenizer_config.json
    806 Bytes
    Upload with huggingface_hub over 3 years ago
  • vocab.json
    1.06 MB
    Upload with huggingface_hub over 3 years ago