Instructions to use kraina/map_diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kraina/map_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("kraina/map_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 Settings
- Draw Things
- DiffusionBee
End of training
Browse files
safety_checker/config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_commit_hash": "3ee6c9f225f088ad5d35b624b6514b091e6a4849",
|
| 3 |
-
"_name_or_path": "/
|
| 4 |
"architectures": [
|
| 5 |
"StableDiffusionSafetyChecker"
|
| 6 |
],
|
|
|
|
| 1 |
{
|
| 2 |
"_commit_hash": "3ee6c9f225f088ad5d35b624b6514b091e6a4849",
|
| 3 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--hf-internal-testing--tiny-stable-diffusion-pipe/snapshots/3ee6c9f225f088ad5d35b624b6514b091e6a4849/safety_checker",
|
| 4 |
"architectures": [
|
| 5 |
"StableDiffusionSafetyChecker"
|
| 6 |
],
|
unet/diffusion_pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5834433
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:769da7b401325cd082d57b5a11dbc6eeecd8fd0ccf7fde674c55c31194fbe358
|
| 3 |
size 5834433
|