Instructions to use Halberthj/ImageGenerator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Halberthj/ImageGenerator with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Halberthj/ImageGenerator", dtype=torch.bfloat16, device_map="cuda") prompt = "Picture in suit for LinkedIn" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from Halberthj/ImageGenerator: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/Halberthj/ImageGenerator/resolve/main/README.md
- Command line
-
hf download hf://Halberthj/ImageGenerator/README.md
-
curl -L -o README.md https://huggingface.co/Halberthj/ImageGenerator/resolve/main/README.md
241 Bytes
| base_model: stabilityai/stable-diffusion-xl-base-1.0 | |
| instance_prompt: Picture in suit for LinkedIn | |
| tags: | |
| - text-to-image | |
| - diffusers | |
| - autotrain | |
| inference: true | |
| # DreamBooth trained by AutoTrain | |
| Text encoder was not trained. | |