Instructions to use KIMCAHLLIE/shinkai-style-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use KIMCAHLLIE/shinkai-style-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("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("KIMCAHLLIE/shinkai-style-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 requirements.txt with huggingface_hub
Browse files- requirements.txt +9 -0
requirements.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diffusers>=0.24.0
|
| 2 |
+
transformers
|
| 3 |
+
accelerate>=0.21.0
|
| 4 |
+
scipy
|
| 5 |
+
safetensors
|
| 6 |
+
peft
|
| 7 |
+
bitsandbytes
|
| 8 |
+
Pillow
|
| 9 |
+
xformers
|