Ahmed Faiyaz commited on
Commit
0608938
1 Parent(s): 3e01864

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -5
README.md CHANGED
@@ -15,14 +15,18 @@ instance_prompt: null
15
  ---
16
  # Mukh-Oboyob
17
  ```py
 
 
 
 
18
  vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-ema")
19
 
20
  pipeline = DiffusionPipeline.from_pretrained(
21
- "CompVis/stable-diffusion-v1-4",
22
- tokenizer=AutoTokenizer.from_pretrained('csebuetnlp/banglabert'),
23
- text_encoder = AutoModel.from_pretrained("csebuetnlp/banglabert"),
24
- vae=vae
25
- )
26
  ```
27
  <Gallery />
28
 
 
15
  ---
16
  # Mukh-Oboyob
17
  ```py
18
+ from diffusers import DiffusionPipeline
19
+ from transformers import AutoTokenizer,AutoModel
20
+ from diffusers.models import AutoencoderKL
21
+
22
  vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-ema")
23
 
24
  pipeline = DiffusionPipeline.from_pretrained(
25
+ "CompVis/stable-diffusion-v1-4",
26
+ tokenizer=AutoTokenizer.from_pretrained('csebuetnlp/banglabert'),
27
+ text_encoder = AutoModel.from_pretrained("csebuetnlp/banglabert"),
28
+ vae=vae
29
+ )
30
  ```
31
  <Gallery />
32