Instructions to use danyalmalik/stable-diffusion-chest-xray with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use danyalmalik/stable-diffusion-chest-xray with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("danyalmalik/stable-diffusion-chest-xray", 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
Download text_encoder/pytorch_model.bin from danyalmalik/stable-diffusion-chest-xray: direct link, hf CLI and curl.
- Browser
- Download file 681 MB
-
https://huggingface.co/danyalmalik/stable-diffusion-chest-xray/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://danyalmalik/stable-diffusion-chest-xray/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/danyalmalik/stable-diffusion-chest-xray/resolve/main/text_encoder/pytorch_model.bin
681 MB
- Xet hash:
- ea2aee7d180344f4130830cf96a4b9c5fe09919cbfec1be8706b7acd8e13d422
- Size of remote file:
- 681 MB
- SHA256:
- 3fb40f66d584de7f901571deb9e3846f9490efcaf805633bd1269cc9b2197c81
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.