Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
textual_inversion
diffusers-training
Instructions to use dinushiTJ/src_textual_inversion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dinushiTJ/src_textual_inversion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1-base", dtype=torch.bfloat16, device_map="cuda") pipe.load_textual_inversion("dinushiTJ/src_textual_inversion") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download model_index.json from dinushiTJ/src_textual_inversion: direct link, hf CLI and curl.
- Browser
- Download file 643 Bytes
-
https://huggingface.co/dinushiTJ/src_textual_inversion/resolve/main/model_index.json
- Command line
-
hf download hf://dinushiTJ/src_textual_inversion/model_index.json
-
curl -L -o model_index.json https://huggingface.co/dinushiTJ/src_textual_inversion/resolve/main/model_index.json
643 Bytes
| { | |
| "_class_name": "StableDiffusionPipeline", | |
| "_diffusers_version": "0.32.2", | |
| "_name_or_path": "stabilityai/stable-diffusion-2-1-base", | |
| "feature_extractor": [ | |
| "transformers", | |
| "CLIPImageProcessor" | |
| ], | |
| "image_encoder": [ | |
| null, | |
| null | |
| ], | |
| "requires_safety_checker": false, | |
| "safety_checker": [ | |
| null, | |
| null | |
| ], | |
| "scheduler": [ | |
| "diffusers", | |
| "PNDMScheduler" | |
| ], | |
| "text_encoder": [ | |
| "transformers", | |
| "CLIPTextModel" | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "CLIPTokenizer" | |
| ], | |
| "unet": [ | |
| "diffusers", | |
| "UNet2DConditionModel" | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "AutoencoderKL" | |
| ] | |
| } | |