Update app.py
Browse files
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,
|
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'
|