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

- Xet hash:
- 0d61f0f1bdf7c204fa76df897dd0c1342f8d0ba8e639e09a83eeb1c9130d09ff
- Size of remote file:
- 347 kB
- SHA256:
- 00e883244ee3f201610abb51f2653b56351a0b235e7da1a360fdb1d770d71eac
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.