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