JiheonJeong commited on
Commit
703ce39
·
1 Parent(s): 9484ce7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -143,7 +143,7 @@ def random_sample():
143
  for k in range(TOTAL_K):
144
  new_image.paste(random_characters[k], CURRENT_POSITION[k], random_characters[k])
145
  print(CURRENT_POSITION)
146
- return image: np.array(new_image)
147
 
148
  def reset_sample():
149
  image = np.array(Image.open(os.path.join(os.path.dirname(__file__), "data/Court.jpeg")))
 
143
  for k in range(TOTAL_K):
144
  new_image.paste(random_characters[k], CURRENT_POSITION[k], random_characters[k])
145
  print(CURRENT_POSITION)
146
+ return np.array(new_image)
147
 
148
  def reset_sample():
149
  image = np.array(Image.open(os.path.join(os.path.dirname(__file__), "data/Court.jpeg")))