Instructions to use flax/samdoesart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use flax/samdoesart with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("flax/samdoesart", 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
Update unet/config.json
Browse files- unet/config.json +1 -1
unet/config.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
| 20 |
"in_channels": 4,
|
| 21 |
"layers_per_block": 2,
|
| 22 |
"out_channels": 4,
|
| 23 |
-
"sample_size":
|
| 24 |
"up_block_types": [
|
| 25 |
"UpBlock2D",
|
| 26 |
"CrossAttnUpBlock2D",
|
|
|
|
| 20 |
"in_channels": 4,
|
| 21 |
"layers_per_block": 2,
|
| 22 |
"out_channels": 4,
|
| 23 |
+
"sample_size": 64,
|
| 24 |
"up_block_types": [
|
| 25 |
"UpBlock2D",
|
| 26 |
"CrossAttnUpBlock2D",
|