Instructions to use TristanJLegg/MinecraftStyleStableDiffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TristanJLegg/MinecraftStyleStableDiffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("TristanJLegg/MinecraftStyleStableDiffusion") prompt = "-" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from TristanJLegg/MinecraftStyleStableDiffusion: direct link, hf CLI and curl.
- Browser
- Download file 804 Bytes
-
https://huggingface.co/TristanJLegg/MinecraftStyleStableDiffusion/resolve/main/README.md
- Command line
-
hf download hf://TristanJLegg/MinecraftStyleStableDiffusion/README.md
-
curl -L -o README.md https://huggingface.co/TristanJLegg/MinecraftStyleStableDiffusion/resolve/main/README.md
804 Bytes
| tags: | |
| - text-to-image | |
| - stable-diffusion | |
| - lora | |
| - diffusers | |
| - template:sd-lora | |
| widget: | |
| - text: '-' | |
| output: | |
| url: images/2000_custom_lora_output_0.png | |
| base_model: runwayml/stable-diffusion-v1-5 | |
| instance_prompt: null | |
| license: mit | |
| # MinecraftStyleStableDiffusion | |
| <Gallery /> | |
| ## Model description | |
| ```python | |
| from diffusers import DiffusionPipeline | |
| pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5") | |
| pipe.load_lora_weights("TristanJLegg/MinecraftStyleStableDiffusion") | |
| prompt = "a cabin in the woods" | |
| img = pipe(prompt).images[0] | |
| img.save(f"minecraft_style_stable_diffusion.png") | |
| ``` | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/TristanJLegg/MinecraftStyleStableDiffusion/tree/main) them in the Files & versions tab. | |