Text-to-Image
Diffusers
English
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
English
Instructions to use ShibaDeveloper/olivia-v1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ShibaDeveloper/olivia-v1.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ShibaDeveloper/olivia-v1.0", dtype=torch.bfloat16, device_map="cuda") prompt = "1girl, detailed, intricate, elegant, highly detailed, digital painting, artstation, concept art, matte, sharp focus, illustration, by dan mumford, yusuke murata, makoto shinkai, ross tran" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit ·
e139658
1
Parent(s): f721bcf
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,7 +8,7 @@ tags:
|
|
| 8 |
inference: true
|
| 9 |
widget:
|
| 10 |
- text: >-
|
| 11 |
-
1girl,
|
| 12 |
example_title: example 1girl
|
| 13 |
---
|
| 14 |
|
|
@@ -16,6 +16,12 @@ widget:
|
|
| 16 |
|
| 17 |
ยินดีต้อนรับสู่ Olivia V1.0 โมเดลนี้เป็นเพียงแค่การสาธิต และอยู่ในช่วงระหว่างการทดสอบเท่านั้น!
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
## 🧨 Diffusers
|
| 20 |
|
| 21 |
โมเดลนี้สามารถใช้งานได้เหมือนกับโมเดล Stable Diffusion อื่นๆ [คลิกเพื่ออ่านเพิ่มเติม](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion)
|
|
@@ -28,7 +34,7 @@ model_id = "ShibaDeveloper/olivia-v1.0"
|
|
| 28 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 29 |
pipe = pipe.to("cuda")
|
| 30 |
|
| 31 |
-
prompt = "1girl,
|
| 32 |
image = pipe(prompt).images[0]
|
| 33 |
|
| 34 |
image.save("./olivia_img.png")
|
|
|
|
| 8 |
inference: true
|
| 9 |
widget:
|
| 10 |
- text: >-
|
| 11 |
+
1girl, detailed, intricate, elegant, highly detailed, digital painting, artstation, concept art, matte, sharp focus, illustration, by dan mumford, yusuke murata, makoto shinkai, ross tran
|
| 12 |
example_title: example 1girl
|
| 13 |
---
|
| 14 |
|
|
|
|
| 16 |
|
| 17 |
ยินดีต้อนรับสู่ Olivia V1.0 โมเดลนี้เป็นเพียงแค่การสาธิต และอยู่ในช่วงระหว่างการทดสอบเท่านั้น!
|
| 18 |
|
| 19 |
+

|
| 20 |
+
```
|
| 21 |
+
Prompt: 1girl, detailed, intricate, elegant, highly detailed, digital painting, artstation, concept art, matte, sharp focus, illustration, by dan mumford, yusuke murata, makoto shinkai, ross tran
|
| 22 |
+
Steps: 50, Sampler: DDIM, CFG scale: 12
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
## 🧨 Diffusers
|
| 26 |
|
| 27 |
โมเดลนี้สามารถใช้งานได้เหมือนกับโมเดล Stable Diffusion อื่นๆ [คลิกเพื่ออ่านเพิ่มเติม](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion)
|
|
|
|
| 34 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 35 |
pipe = pipe.to("cuda")
|
| 36 |
|
| 37 |
+
prompt = "1girl, detailed, intricate, elegant, highly detailed, digital painting, artstation, concept art, matte, sharp focus, illustration, by dan mumford, yusuke murata, makoto shinkai, ross tran"
|
| 38 |
image = pipe(prompt).images[0]
|
| 39 |
|
| 40 |
image.save("./olivia_img.png")
|