Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
index.py
CHANGED
@@ -51,7 +51,7 @@ def generate_pattern(image, prompt):
|
|
51 |
# Create a new image with black background and white cross
|
52 |
cross_image_pil = Image.new('RGB', (width, height), 'black')
|
53 |
draw = ImageDraw.Draw(cross_image_pil)
|
54 |
-
line_width =
|
55 |
# Draw vertical line
|
56 |
draw.rectangle([(width // 2 - line_width // 2, 0), (width // 2 + line_width // 2, height)], fill='white')
|
57 |
# Draw horizontal line
|
|
|
51 |
# Create a new image with black background and white cross
|
52 |
cross_image_pil = Image.new('RGB', (width, height), 'black')
|
53 |
draw = ImageDraw.Draw(cross_image_pil)
|
54 |
+
line_width = 75
|
55 |
# Draw vertical line
|
56 |
draw.rectangle([(width // 2 - line_width // 2, 0), (width // 2 + line_width // 2, height)], fill='white')
|
57 |
# Draw horizontal line
|