Instructions to use DavyMorgan/tiny-controlnet-sd3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DavyMorgan/tiny-controlnet-sd3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DavyMorgan/tiny-controlnet-sd3", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,6 +23,6 @@ def get_dummy_components_controlnet():
|
|
| 23 |
|
| 24 |
|
| 25 |
if __name__ == "__main__":
|
| 26 |
-
|
| 27 |
controlnet = get_dummy_components_controlnet()
|
| 28 |
controlnet.push_to_hub("DavyMorgan/tiny-controlnet-sd3")
|
|
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
if __name__ == "__main__":
|
|
|
|
| 26 |
controlnet = get_dummy_components_controlnet()
|
| 27 |
controlnet.push_to_hub("DavyMorgan/tiny-controlnet-sd3")
|
| 28 |
+
```
|