fix bugs with generation
@@ -47,7 +47,7 @@ def generate(img_src: str, max_dim: int):
source = cv2.resize(source, (int(xi), int(yi)))
source = cv2.blur(source, (2, 2))
- canvas = []
+ canvas = np.zeros((source.shape[0]*xi, source.shape[1]*yi, 3), np.uint8)
y = 0
