ShibaDeveloper commited on
Commit
8e5d7d8
·
1 Parent(s): ed99b96

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -3
README.md CHANGED
@@ -4,10 +4,29 @@ tags:
4
  - text-to-image
5
  - stable-diffusion
6
  ---
7
- ### Olivia-v1.0 Dreambooth model trained by ShibaDeveloper with [TheLastBen's fast-DreamBooth](https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast-DreamBooth.ipynb) notebook
8
 
 
9
 
10
- Test the concept via A1111 Colab [fast-Colab-A1111](https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb)
11
 
12
- Sample pictures of this concept:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
 
4
  - text-to-image
5
  - stable-diffusion
6
  ---
7
+ # Olivia-v1.0
8
 
9
+ ยินดีต้อนรับสู่ Olivia-v1.0
10
 
11
+ ### Olivia-v1.0 ได้รับการฝึกฝนโดย ShibaDeveloper
12
 
13
+ ## 🧨 Diffusers
14
+
15
+ โมเดลนี้สามารถใช้งานได้เหมือนกับโมเดล Stable Diffusion อื่นๆ สำหรับข้อมูลเพิ่มเติม,
16
+ โปรดดูที่นี่ [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
17
+
18
+ ```python
19
+ from diffusers import StableDiffusionPipeline
20
+ import torch
21
+
22
+ model_id = "ShibaDeveloper/olivia-v1-0"
23
+ branch_name= "diffusers"
24
+
25
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, revision=branch_name, torch_dtype=torch.float16)
26
+ pipe = pipe.to("cuda")
27
+
28
+ prompt = "pikachu"
29
+ image = pipe(prompt).images[0]
30
+
31
+ image.save("./pikachu.png")
32