Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
dreambooth
Instructions to use NormalGuy2402/ModelSave with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use NormalGuy2402/ModelSave with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("NormalGuy2402/ModelSave", dtype=torch.bfloat16, device_map="cuda") prompt = "a photo of Truong" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download model_index.json from NormalGuy2402/ModelSave: direct link, hf CLI and curl.
- Browser
- Download file 679 Bytes
-
https://huggingface.co/NormalGuy2402/ModelSave/resolve/main/model_index.json
- Command line
-
hf download hf://NormalGuy2402/ModelSave/model_index.json
-
curl -L -o model_index.json https://huggingface.co/NormalGuy2402/ModelSave/resolve/main/model_index.json
679 Bytes
| { | |
| "_class_name": "StableDiffusionPipeline", | |
| "_diffusers_version": "0.24.0.dev0", | |
| "_name_or_path": "CompVis/stable-diffusion-v1-4", | |
| "feature_extractor": [ | |
| "transformers", | |
| "CLIPImageProcessor" | |
| ], | |
| "image_encoder": [ | |
| null, | |
| null | |
| ], | |
| "requires_safety_checker": true, | |
| "safety_checker": [ | |
| "stable_diffusion", | |
| "StableDiffusionSafetyChecker" | |
| ], | |
| "scheduler": [ | |
| "diffusers", | |
| "PNDMScheduler" | |
| ], | |
| "text_encoder": [ | |
| "transformers", | |
| "CLIPTextModel" | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "CLIPTokenizer" | |
| ], | |
| "unet": [ | |
| "diffusers", | |
| "UNet2DConditionModel" | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "AutoencoderKL" | |
| ] | |
| } | |