Instructions to use NYUAD-ComNets/Black_Male_Profession_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use NYUAD-ComNets/Black_Male_Profession_Model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("NYUAD-ComNets/Black_Male_Profession_Model") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Add generated example
#1
by NYUAD-ComNets - opened
- README.md +5 -1
- images/example_cgf4zlogz.png +0 -0
README.md
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
|
| 2 |
---
|
| 3 |
license: creativeml-openrail-m
|
| 4 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
|
@@ -10,6 +9,11 @@ tags:
|
|
| 10 |
- diffusers
|
| 11 |
- lora
|
| 12 |
inference: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# Model description
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: creativeml-openrail-m
|
| 3 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
|
|
|
| 9 |
- diffusers
|
| 10 |
- lora
|
| 11 |
inference: true
|
| 12 |
+
widget:
|
| 13 |
+
- text: two persons dancing
|
| 14 |
+
output:
|
| 15 |
+
url: images/example_cgf4zlogz.png
|
| 16 |
+
|
| 17 |
---
|
| 18 |
|
| 19 |
# Model description
|
images/example_cgf4zlogz.png
ADDED
|