Instructions to use Montey/python-edge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Montey/python-edge with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Montey/python-edge", 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
Download cache_info.json from Montey/python-edge: direct link, hf CLI and curl.
- Browser
- Download file 81 Bytes
-
https://huggingface.co/Montey/python-edge/resolve/708064256e980248a78fc7a8dae94df4426beb8b/cache_info.json
- Command line
-
hf download hf://Montey/python-edge@708064256e980248a78fc7a8dae94df4426beb8b/cache_info.json
-
curl -L -o cache_info.json https://huggingface.co/Montey/python-edge/resolve/708064256e980248a78fc7a8dae94df4426beb8b/cache_info.json
81 Bytes
| {"repository": "https://huggingface.co/silencer107/poo3", "revision": "1a46d0d"} | |