Instructions to use radkinz/gothify-anime-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use radkinz/gothify-anime-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("radkinz/gothify-anime-lora") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Upload folder using huggingface_hub
Browse files- README.md +40 -0
- goth-lora-v0.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- lora
|
| 5 |
+
- stable-diffusion
|
| 6 |
+
- anime
|
| 7 |
+
- style
|
| 8 |
+
- goth
|
| 9 |
+
- diffusers
|
| 10 |
+
- img2img
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Gothify Anime LoRA (v0)
|
| 14 |
+
|
| 15 |
+
A LoRA adapter that biases SD 1.5 anime-style images toward a goth aesthetic
|
| 16 |
+
(dark palette, eyeliner, chokers, lace/leather, moody lighting).
|
| 17 |
+
|
| 18 |
+
This is an early v0 release intended for testing and iteration, and it requires an SD 1.5 anime base checkpoint.
|
| 19 |
+
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
## How to use (Diffusers)
|
| 23 |
+
|
| 24 |
+
```python
|
| 25 |
+
import torch
|
| 26 |
+
from diffusers import StableDiffusionImg2ImgPipeline
|
| 27 |
+
|
| 28 |
+
pipe = StableDiffusionImg2ImgPipeline.from_single_file(
|
| 29 |
+
r"/path/to/your_sd15_anime_base.safetensors",
|
| 30 |
+
torch_dtype=torch.float16,
|
| 31 |
+
safety_checker=None,
|
| 32 |
+
).to("cuda")
|
| 33 |
+
|
| 34 |
+
pipe.load_lora_weights(
|
| 35 |
+
"YOUR_USERNAME/gothify-anime-lora-v0",
|
| 36 |
+
weight_name="gothify-anime-lora-v0.safetensors",
|
| 37 |
+
)
|
| 38 |
+
|
| 39 |
+
pipe.set_adapters(["default_0"], adapter_weights=[0.8])
|
| 40 |
+
````
|
goth-lora-v0.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45dd60f1da20e4bbdcaed62cdd9a2954e49373ae8a0b058cedfb776d0a4fcba4
|
| 3 |
+
size 6870072
|