Text-to-Image
Diffusers
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
dreambooth
Instructions to use anic87/pcam_normal_tumor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use anic87/pcam_normal_tumor with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("anic87/pcam_normal_tumor", dtype=torch.bfloat16, device_map="cuda") prompt = "a photo of sks metastatic-lymph-node-tissue" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download image_2.png from anic87/pcam_normal_tumor: direct link, hf CLI and curl.
- Browser
- Download file 394 kB
-
https://huggingface.co/anic87/pcam_normal_tumor/resolve/main/image_2.png
- Command line
-
hf download hf://anic87/pcam_normal_tumor/image_2.png
-
curl -L -o image_2.png https://huggingface.co/anic87/pcam_normal_tumor/resolve/main/image_2.png
394 kB
