Instructions to use aigrils2/primitive0-diffuser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aigrils2/primitive0-diffuser with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("wangjun/majicmix-realistic-v6", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("aigrils2/primitive0-diffuser") 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
edit safety checker
Browse files- model_index.json +1 -5
model_index.json
CHANGED
|
@@ -6,11 +6,7 @@
|
|
| 6 |
"transformers",
|
| 7 |
"CLIPImageProcessor"
|
| 8 |
],
|
| 9 |
-
"requires_safety_checker":
|
| 10 |
-
"safety_checker": [
|
| 11 |
-
"stable_diffusion",
|
| 12 |
-
"StableDiffusionSafetyChecker"
|
| 13 |
-
],
|
| 14 |
"scheduler": [
|
| 15 |
"diffusers",
|
| 16 |
"PNDMScheduler"
|
|
|
|
| 6 |
"transformers",
|
| 7 |
"CLIPImageProcessor"
|
| 8 |
],
|
| 9 |
+
"requires_safety_checker": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"scheduler": [
|
| 11 |
"diffusers",
|
| 12 |
"PNDMScheduler"
|