lmattingly13 commited on
Commit
e154444
·
1 Parent(s): 0e2a61e

revert to version that runs locally

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ def canny_filter2(image):
47
  image = cv2.Canny(image, low_threshold, high_threshold)
48
  image = image[:, :, None]
49
  image = np.concatenate([image, image, image], axis=2)
50
- #canny_image = Image.fromarray(image)
51
- return image
52
 
53
 
54
 
 
47
  image = cv2.Canny(image, low_threshold, high_threshold)
48
  image = image[:, :, None]
49
  image = np.concatenate([image, image, image], axis=2)
50
+ canny_image = Image.fromarray(image)
51
+ return canny_image
52
 
53
 
54