init
Browse files
README.md
CHANGED
|
@@ -1,3 +1,50 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- flux
|
| 4 |
+
- text-to-image
|
| 5 |
+
- controlnet
|
| 6 |
+
- diffusers
|
| 7 |
+
widget:
|
| 8 |
+
- text: "a product with soft natural shadow, white background"
|
| 9 |
+
output:
|
| 10 |
+
url: pictures/pic1.png
|
| 11 |
+
- text: "a product with hard natural shadow, white background"
|
| 12 |
+
output:
|
| 13 |
+
url: pictures/pic2.png
|
| 14 |
+
- text: "a product with floating natural shadow, white background"
|
| 15 |
+
output:
|
| 16 |
+
url: pictures/pic3.png
|
| 17 |
+
- text: "a product with soft natural shadow, white background"
|
| 18 |
+
output:
|
| 19 |
+
url: pictures/pic4.png
|
| 20 |
+
- text: "a product with hard natural shadow, white background"
|
| 21 |
+
output:
|
| 22 |
+
url: pictures/pic5.png
|
| 23 |
+
- text: "a product with floating natural shadow, white background"
|
| 24 |
+
output:
|
| 25 |
+
url: pictures/pic6.png
|
| 26 |
+
- text: "a product with soft natural shadow, white background"
|
| 27 |
+
output:
|
| 28 |
+
url: pictures/pic1.png
|
| 29 |
+
- text: "a product with hard natural shadow, white background"
|
| 30 |
+
output:
|
| 31 |
+
url: pictures/pic2.png
|
| 32 |
+
- text: "a product with floating natural shadow, white background"
|
| 33 |
+
output:
|
| 34 |
+
url: pictures/pic3.png
|
| 35 |
+
base_model:
|
| 36 |
+
- stabilityai/stable-diffusion-xl-base-1.0
|
| 37 |
+
license: other
|
| 38 |
+
license_name: sdxl-non-commercial-license
|
| 39 |
+
---
|
| 40 |
+
## Inference
|
| 41 |
+
<Gallery />
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
python3 generate_shadow_main.py
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
# Training
|
| 49 |
+
|
| 50 |
+
Training was done using https://github.com/huggingface/diffusers/blob/main/examples/controlnet/train_controlnet_sdxl.py
|