Instructions to use skyadmin/cog-webui-sd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use skyadmin/cog-webui-sd with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("skyadmin/cog-webui-sd", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download repositories/stable-diffusion-stability-ai/setup.py from skyadmin/cog-webui-sd: direct link, hf CLI and curl.
- Browser
- Download file 233 Bytes
-
https://huggingface.co/skyadmin/cog-webui-sd/resolve/main/repositories/stable-diffusion-stability-ai/setup.py
- Command line
-
hf download hf://skyadmin/cog-webui-sd/repositories/stable-diffusion-stability-ai/setup.py
-
curl -L -o setup.py https://huggingface.co/skyadmin/cog-webui-sd/resolve/main/repositories/stable-diffusion-stability-ai/setup.py
233 Bytes
| from setuptools import setup, find_packages | |
| setup( | |
| name='stable-diffusion', | |
| version='0.0.1', | |
| description='', | |
| packages=find_packages(), | |
| install_requires=[ | |
| 'torch', | |
| 'numpy', | |
| 'tqdm', | |
| ], | |
| ) |