Text-to-Image
Diffusers
Trained with AutoTrain
stable-diffusion-xl
stable-diffusion-xl-diffusers
lora
template:sd-lora
Instructions to use LinAnnJose/Boycharactergenerationvn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LinAnnJose/Boycharactergenerationvn 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("LinAnnJose/Boycharactergenerationvn") prompt = "full-body sketch of a child character, charctr_cby, wearing a grey t-shirt and black shorts, is sleeping and lying on a bed with a plain green background, no more than 2 legs and hands in the sketch" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Add generated example
#2
by LinAnnJose - opened
- README.md +6 -0
- images/example_7u39j2ee5.png +0 -0
README.md
CHANGED
|
@@ -17,6 +17,12 @@ widget:
|
|
| 17 |
background, no more than 2 legs and hands in the sketch
|
| 18 |
output:
|
| 19 |
url: images/example_dxoeq9ow1.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
---
|
| 22 |
|
|
|
|
| 17 |
background, no more than 2 legs and hands in the sketch
|
| 18 |
output:
|
| 19 |
url: images/example_dxoeq9ow1.png
|
| 20 |
+
- text: >-
|
| 21 |
+
A full-body child sketch of a charctr_cby, wearing a grey t-shirt and black
|
| 22 |
+
shorts no green color in the dress, is jumping with a plain green
|
| 23 |
+
background, no more than 2 legs and hands or character in the sketch
|
| 24 |
+
output:
|
| 25 |
+
url: images/example_7u39j2ee5.png
|
| 26 |
|
| 27 |
---
|
| 28 |
|
images/example_7u39j2ee5.png
ADDED
|