Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def render_init(board):
|
|
108 |
new_image = PILImage.new('RGB', (width, height), 'white')
|
109 |
|
110 |
# Calculate the position to paste the chess board image
|
111 |
-
left =
|
112 |
upper = 0
|
113 |
|
114 |
# Paste the chess board image into the new image
|
@@ -131,7 +131,7 @@ def render_new(board):
|
|
131 |
new_image = PILImage.new('RGB', (width, height), 'white')
|
132 |
|
133 |
# Calculate the position to paste the chess board image
|
134 |
-
left =
|
135 |
upper = 0
|
136 |
|
137 |
# Paste the chess board image into the new image
|
|
|
108 |
new_image = PILImage.new('RGB', (width, height), 'white')
|
109 |
|
110 |
# Calculate the position to paste the chess board image
|
111 |
+
left = 0 # One third of the width
|
112 |
upper = 0
|
113 |
|
114 |
# Paste the chess board image into the new image
|
|
|
131 |
new_image = PILImage.new('RGB', (width, height), 'white')
|
132 |
|
133 |
# Calculate the position to paste the chess board image
|
134 |
+
left = 0 # One third of the width
|
135 |
upper = 0
|
136 |
|
137 |
# Paste the chess board image into the new image
|