File size: 1,428 Bytes
5c65631
 
7133b44
5c65631
 
7133b44
5c65631
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6cd852e
5c65631
 
6302244
5c65631
 
6302244
5c65631
 
 
 
 
 
 
7133b44
5c65631
 
 
 
 
7133b44
 
 
 
 
 
5c65631
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
tags:
- SDXL
- controlnet
- diffusers
- shadow generation
widget:
  - text: "a product with soft natural shadow, white background"
    output:
      url: pictures/pic1.png
  - text: "a product with hard natural shadow, white background"
    output:
      url: pictures/pic2.png
  - text: "a product with floating natural shadow, white background"
    output:
      url: pictures/pic3.png
  - text: "a product with soft natural shadow, white background"
    output:
      url: pictures/pic4.png
  - text: "a product with hard natural shadow, white background"
    output:
      url: pictures/pic5.png
  - text: "a product with floating natural shadow, white background"
    output:
      url: pictures/pic6.png
  - text: "a product with soft natural shadow, white background"
    output:
      url: pictures/pic7.png
  - text: "a product with hard natural shadow, white background"
    output:
      url: pictures/pic9.png
  - text: "a product with floating natural shadow, white background"
    output:
      url: pictures/pic8.png
base_model:
- stabilityai/stable-diffusion-xl-base-1.0
license: other
license_name: sdxl-non-commercial-license
---
<Gallery />

## Inference
```python
python3 generate_shadow_main.py
```


## Gradio Demo
```python
python3 app_shadow_generation_gradio.py
```


# Training

Training was done using https://github.com/huggingface/diffusers/blob/main/examples/controlnet/train_controlnet_sdxl.py