Instructions to use nitrosocke/Arcane-Diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nitrosocke/Arcane-Diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nitrosocke/Arcane-Diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Add pip installs
#14
by patrickvonplaten - opened
README.md
CHANGED
|
@@ -15,6 +15,7 @@ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffuse
|
|
| 15 |
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
|
| 16 |
|
| 17 |
```python
|
|
|
|
| 18 |
from diffusers import StableDiffusionPipeline
|
| 19 |
import torch
|
| 20 |
|
|
|
|
| 15 |
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
|
| 16 |
|
| 17 |
```python
|
| 18 |
+
#!pip install diffusers transformers scipy torch
|
| 19 |
from diffusers import StableDiffusionPipeline
|
| 20 |
import torch
|
| 21 |
|