Instructions to use Ketansomewhere/sd-class990997 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Ketansomewhere/sd-class990997 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Ketansomewhere/sd-class990997", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
---
|
| 2 |
-
license: mit
|
| 3 |
tags:
|
| 4 |
- pytorch
|
| 5 |
- diffusers
|
|
@@ -19,4 +18,4 @@ from diffusers import DDPMPipeline
|
|
| 19 |
pipeline = DDPMPipeline.from_pretrained('Ketansomewhere/sd-class990997')
|
| 20 |
image = pipeline().images[0]
|
| 21 |
image
|
| 22 |
-
```
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
tags:
|
| 3 |
- pytorch
|
| 4 |
- diffusers
|
|
|
|
| 18 |
pipeline = DDPMPipeline.from_pretrained('Ketansomewhere/sd-class990997')
|
| 19 |
image = pipeline().images[0]
|
| 20 |
image
|
| 21 |
+
```
|