mlabonne commited on
Commit
456d954
1 Parent(s): aafa82a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = width # One third of the width
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 = width # One third of the width
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