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

Nihirc
/
Prompt2MedImage

Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Diffusers

    How to use Nihirc/Prompt2MedImage with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Nihirc/Prompt2MedImage", 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
  • Draw Things
  • DiffusionBee
Prompt2MedImage
10.1 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 10 commits
Nihirc's picture
Nihirc
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
84d734c verified over 1 year ago
  • examples
    Added examples about 3 years ago
  • feature_extractor
    Submit model weights to HF about 3 years ago
  • safety_checker
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • scheduler
    Submit model weights to HF about 3 years ago
  • text_encoder
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • tokenizer
    Submit model weights to HF about 3 years ago
  • unet
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • vae
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    3.07 kB
    Merge branch 'main' of https://huggingface.co/Nihirc/Prompt2MedImage into main about 3 years ago
  • model_index.json
    577 Bytes
    Submit model weights to HF about 3 years ago