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

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, 50, 50, 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, 80, 80, cv2.BORDER_CONSTANT, value=0)
53
  images.append(image_pad)
54
 
55
  gif_filename = 'avatar_source.gif'