Instructions to use diffusers/lora-trained-xl-starbucks with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/lora-trained-xl-starbucks with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/stable-diffusion-xl-base-0.9", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("diffusers/lora-trained-xl-starbucks") prompt = "a photo of sks logo" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Correct license
#1
by patrickvonplaten - opened
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
|
| 2 |
---
|
| 3 |
-
license:
|
| 4 |
base_model: diffusers/stable-diffusion-xl-base-0.9
|
| 5 |
instance_prompt: a photo of sks logo
|
| 6 |
tags:
|
|
@@ -23,3 +23,7 @@ These are LoRA adaption weights for diffusers/stable-diffusion-xl-base-0.9. The
|
|
| 23 |
|
| 24 |
|
| 25 |
LoRA for the text encoder was enabled: False.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
| 2 |
---
|
| 3 |
+
license: other
|
| 4 |
base_model: diffusers/stable-diffusion-xl-base-0.9
|
| 5 |
instance_prompt: a photo of sks logo
|
| 6 |
tags:
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
LoRA for the text encoder was enabled: False.
|
| 26 |
+
|
| 27 |
+
## License
|
| 28 |
+
|
| 29 |
+
[SDXL 0.9 Research License](https://huggingface.co/stabilityai/stable-diffusion-xl-base-0.9/blob/main/LICENSE.md)
|