Instructions to use myunus1/diffmodels_galaxies_scratchbook with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use myunus1/diffmodels_galaxies_scratchbook with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("myunus1/diffmodels_galaxies_scratchbook", 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
Upload with huggingface_hub
Browse files- config.json +1 -1
- diffusion_pytorch_model.bin +1 -1
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DModel",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"act_fn": "silu",
|
| 5 |
"add_attention": true,
|
| 6 |
"attention_head_dim": 8,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.15.0.dev0",
|
| 4 |
"act_fn": "silu",
|
| 5 |
"add_attention": true,
|
| 6 |
"attention_head_dim": 8,
|
diffusion_pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14520745
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f48fec1ba52a1332841b2a65b78e026e3f3e551b123b2ef42b7cc6d87ad0e043
|
| 3 |
size 14520745
|