Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ license: openrail
|
|
| 4 |
|
| 5 |
|
| 6 |
# ControlNet-XS
|
| 7 |
-

|
| 10 |
|
|
@@ -22,7 +22,6 @@ Example for StableDiffusion-XL with Canny Edges
|
|
| 22 |
|
| 23 |
```python
|
| 24 |
import scripts.control_utils as cu
|
| 25 |
-
import matplotlib.pyplot as plt
|
| 26 |
import torch
|
| 27 |
from PIL import Image
|
| 28 |
|
|
@@ -53,14 +52,13 @@ samples, controls = cu.get_sdxl_sample(
|
|
| 53 |
|
| 54 |
Image.fromarray(cu.create_image_grid(samples)).save('SDXL_MyShoe.png')
|
| 55 |
```
|
| 56 |
-

|
| 8 |
|
| 9 |

|
| 10 |
|
|
|
|
| 22 |
|
| 23 |
```python
|
| 24 |
import scripts.control_utils as cu
|
|
|
|
| 25 |
import torch
|
| 26 |
from PIL import Image
|
| 27 |
|
|
|
|
| 52 |
|
| 53 |
Image.fromarray(cu.create_image_grid(samples)).save('SDXL_MyShoe.png')
|
| 54 |
```
|
| 55 |
+

|
| 56 |
|
| 57 |
Example for StableDiffusion2.1 with depth maps
|
| 58 |
|
| 59 |
|
| 60 |
```python
|
| 61 |
import scripts.control_utils as cu
|
|
|
|
| 62 |
import torch
|
| 63 |
from PIL import Image
|
| 64 |
|
|
|
|
| 87 |
|
| 88 |
Image.fromarray(cu.create_image_grid(samples)).save('SD_MyShoe.png')
|
| 89 |
```
|
| 90 |
+

|