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