Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -114,6 +114,8 @@ def check_answer(
|
|
| 114 |
If you'd like to use a single image model, here's a handy function to turn `image_1` and `image_2` into a single split image:
|
| 115 |
|
| 116 |
```python
|
|
|
|
|
|
|
| 117 |
def concat_images_horizontal(
|
| 118 |
image1: Image.Image, image2: Image.Image, include_space: bool=True, space_width: int=20, fill_color: tuple=(0, 0, 0)
|
| 119 |
) -> Image.Image:
|
|
|
|
| 114 |
If you'd like to use a single image model, here's a handy function to turn `image_1` and `image_2` into a single split image:
|
| 115 |
|
| 116 |
```python
|
| 117 |
+
from PIL import Image
|
| 118 |
+
|
| 119 |
def concat_images_horizontal(
|
| 120 |
image1: Image.Image, image2: Image.Image, include_space: bool=True, space_width: int=20, fill_color: tuple=(0, 0, 0)
|
| 121 |
) -> Image.Image:
|