ldkong commited on
Commit
6810915
β€’
1 Parent(s): ec63d29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def display_gif_pad(file_name, save_name):
49
  image_filename = file_name + frame_name + '.png'
50
  image = imageio.imread(image_filename)
51
  image = image[:, :, :3]
52
- image_pad = cv2.copyMakeBorder(image, 0, 0, 32, 32, cv2.BORDER_CONSTANT, value=0)
53
  images.append(image_pad)
54
 
55
  gif_filename = 'avatar_source.gif'
 
49
  image_filename = file_name + frame_name + '.png'
50
  image = imageio.imread(image_filename)
51
  image = image[:, :, :3]
52
+ image_pad = cv2.copyMakeBorder(image, 0, 0, 50, 50, cv2.BORDER_CONSTANT, value=0)
53
  images.append(image_pad)
54
 
55
  gif_filename = 'avatar_source.gif'