Linoy Tsaban commited on
Commit ·
8898bd8
1
Parent(s): 8cafa01
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- pytorch
|
| 4 |
+
- diffusers
|
| 5 |
+
- DreamBooth
|
| 6 |
+
- diffusion-models-class
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
#
|
| 10 |
+
Fine-Tuned Stable-Diffusion Model, using DreamBooth based on notebooks of [Diffusion Models Class 🧨](https://github.com/huggingface/diffusion-models-class)e
|
| 11 |
+
|
| 12 |
+
## Usage
|
| 13 |
+
|
| 14 |
+
```python
|
| 15 |
+
from diffusers import StableDiffusionPipeline
|
| 16 |
+
|
| 17 |
+
pipeline = StableDiffusionPipeline.from_pretrained('LinoyTsaban/dreambooth-groot')
|
| 18 |
+
name_of_concept = "groot"
|
| 19 |
+
type_of_thing = "figurine"
|
| 20 |
+
|
| 21 |
+
prompt = f"a photo of groot figurine in the Louvre museum"
|
| 22 |
+
|
| 23 |
+
# Tune the guidance to control how closely the generations follow the prompt.
|
| 24 |
+
# Values between 7-11 usually work best
|
| 25 |
+
guidance_scale = 8 #
|
| 26 |
+
image = pipeline(prompt, guidance_scale=guidance_scale).images[0]
|
| 27 |
+
image
|
| 28 |
+
```
|