Instructions to use Falah/stable_diffusion_prompts_gen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Falah/stable_diffusion_prompts_gen with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Falah/stable_diffusion_prompts_gen", dtype=torch.bfloat16, device_map="cuda") prompt = "Hi, what can you help me with?" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from Falah/stable_diffusion_prompts_gen: direct link, hf CLI and curl.
- Browser
- Download file 2.11 MB
-
https://huggingface.co/Falah/stable_diffusion_prompts_gen/resolve/refs%2Fpr%2F1/tokenizer.json
- Command line
-
hf download hf://Falah/stable_diffusion_prompts_gen@refs/pr/1/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Falah/stable_diffusion_prompts_gen/resolve/refs%2Fpr%2F1/tokenizer.json
2.11 MB
File too large to display, you can check the raw version instead.