Instructions to use JosephusCheung/ACertainModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use JosephusCheung/ACertainModel with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("JosephusCheung/ACertainModel", dtype=torch.bfloat16, device_map="cuda") prompt = "masterpiece, best quality, 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Commit ·
d7ad66b
1
Parent(s): b8f4c3b
Update README.md
Browse files
README.md
CHANGED
|
@@ -37,7 +37,7 @@ from diffusers import StableDiffusionPipeline
|
|
| 37 |
import torch
|
| 38 |
|
| 39 |
model_id = "JosephusCheung/ACertainModel"
|
| 40 |
-
branch_name= "
|
| 41 |
|
| 42 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, revision=branch_name, torch_dtype=torch.float16)
|
| 43 |
pipe = pipe.to("cuda")
|
|
|
|
| 37 |
import torch
|
| 38 |
|
| 39 |
model_id = "JosephusCheung/ACertainModel"
|
| 40 |
+
branch_name= "main"
|
| 41 |
|
| 42 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, revision=branch_name, torch_dtype=torch.float16)
|
| 43 |
pipe = pipe.to("cuda")
|