Instructions to use AiArtLab/sdxs-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AiArtLab/sdxs-1b with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AiArtLab/sdxs-1b", dtype=torch.bfloat16, device_map="cuda") prompt = "sdxs-1b" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
2604
Browse files
README.md
CHANGED
|
@@ -79,12 +79,11 @@ image.show()
|
|
| 79 |
upscaled = pipe.image_upscale("media/girl.jpg")
|
| 80 |
```
|
| 81 |
|
| 82 |
-
|
| 83 |
| | |
|
| 84 |
|:---:|:---:|
|
| 85 |
| <img src="media/123456789.jpg" height="512"/> | <img src="media/123456789.png" height="512"/> |
|
| 86 |
| original | 2xupscale |
|
| 87 |
-
```
|
| 88 |
|
| 89 |
### Prompt refine
|
| 90 |
```
|
|
|
|
| 79 |
upscaled = pipe.image_upscale("media/girl.jpg")
|
| 80 |
```
|
| 81 |
|
| 82 |
+
|
| 83 |
| | |
|
| 84 |
|:---:|:---:|
|
| 85 |
| <img src="media/123456789.jpg" height="512"/> | <img src="media/123456789.png" height="512"/> |
|
| 86 |
| original | 2xupscale |
|
|
|
|
| 87 |
|
| 88 |
### Prompt refine
|
| 89 |
```
|