|
--- |
|
tags: |
|
- text-to-image |
|
- stable-diffusion |
|
- lora |
|
- diffusers |
|
- template:sd-lora |
|
widget: |
|
- text: '-' |
|
output: |
|
url: images/0.jpg |
|
base_model: CompVis/stable-diffusion-v1-4 |
|
instance_prompt: null |
|
|
|
--- |
|
# Mukh-Oboyob |
|
```py |
|
from diffusers import DiffusionPipeline |
|
from transformers import AutoTokenizer,AutoModel |
|
from diffusers.models import AutoencoderKL |
|
|
|
vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-ema") |
|
|
|
pipeline = DiffusionPipeline.from_pretrained( |
|
"CompVis/stable-diffusion-v1-4", |
|
tokenizer=AutoTokenizer.from_pretrained('csebuetnlp/banglabert'), |
|
text_encoder = AutoModel.from_pretrained("csebuetnlp/banglabert"), |
|
vae=vae |
|
) |
|
``` |
|
<Gallery /> |
|
|
|
|
|
|
|
## Download model |
|
|
|
Weights for this model are available in PyTorch format. |
|
|
|
[Download](/gr33nr1ng3r/Mukh-Oboyob/tree/main) them in the Files & versions tab. |
|
|