Instructions to use dannypostma/stockdiffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dannypostma/stockdiffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("dannypostma/stockdiffusion", 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
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`.
#4
by patrickvonplaten - opened
- model_index.json +1 -1
model_index.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"_diffusers_version": "0.12.0.dev0",
|
| 4 |
"feature_extractor": [
|
| 5 |
"transformers",
|
| 6 |
-
"
|
| 7 |
],
|
| 8 |
"requires_safety_checker": true,
|
| 9 |
"safety_checker": [
|
|
|
|
| 3 |
"_diffusers_version": "0.12.0.dev0",
|
| 4 |
"feature_extractor": [
|
| 5 |
"transformers",
|
| 6 |
+
"CLIPImageProcessor"
|
| 7 |
],
|
| 8 |
"requires_safety_checker": true,
|
| 9 |
"safety_checker": [
|