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

  • Log In
  • Sign Up

phamtrongthang
/
medsteer

Text-to-Image
Diffusers
Safetensors
medical
endoscopy
lora
activation-steering
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Diffusers

    How to use phamtrongthang/medsteer with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("PixArt-alpha/PixArt-XL-2-512x512", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("phamtrongthang/medsteer")
    
    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
medsteer
63.8 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
phamtrongthang's picture
phamtrongthang
nielsr's picture
nielsr HF Staff
Add model card for MedSteer (#1)
3a1a071 about 2 months ago
  • text_encoder_lora
    Upload folder using huggingface_hub about 2 months ago
  • transformer_lora
    Upload folder using huggingface_hub about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    2.68 kB
    Add model card for MedSteer (#1) about 2 months ago