Instructions to use chenlei1983/testtohf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use chenlei1983/testtohf with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("chenlei1983/testtohf", 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
Commit History
-
Upload diffusion_pytorch_model.bin
Verified signature0184266
-
Update README.md
Verified signature21f71ef -
Upload folder using huggingface_hub
Verified signatureb2cceb3 -
Upload folder using huggingface_hub
Verified signature88aba3d
-
Upload folder using huggingface_hub
Verified signaturee87fb13 -
initial commit
Verified signaturee175ec4