Update README.md
Browse files
README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
---
|
| 2 |
tags:
|
| 3 |
-
-
|
| 4 |
-
- text-to-image
|
| 5 |
- controlnet
|
| 6 |
- diffusers
|
|
|
|
| 7 |
widget:
|
| 8 |
- text: "a product with soft natural shadow, white background"
|
| 9 |
output:
|
|
@@ -37,14 +37,20 @@ base_model:
|
|
| 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
|
|
|
|
| 1 |
---
|
| 2 |
tags:
|
| 3 |
+
- SDXL
|
|
|
|
| 4 |
- controlnet
|
| 5 |
- diffusers
|
| 6 |
+
- shadow generation
|
| 7 |
widget:
|
| 8 |
- text: "a product with soft natural shadow, white background"
|
| 9 |
output:
|
|
|
|
| 37 |
license: other
|
| 38 |
license_name: sdxl-non-commercial-license
|
| 39 |
---
|
|
|
|
| 40 |
<Gallery />
|
| 41 |
|
| 42 |
+
## Inference
|
| 43 |
```python
|
| 44 |
python3 generate_shadow_main.py
|
| 45 |
```
|
| 46 |
|
| 47 |
|
| 48 |
+
## Gradio Demo
|
| 49 |
+
```python
|
| 50 |
+
python3 app_shadow_generation_gradio.py
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
|
| 54 |
# Training
|
| 55 |
|
| 56 |
Training was done using https://github.com/huggingface/diffusers/blob/main/examples/controlnet/train_controlnet_sdxl.py
|