lampongyuen commited on
Commit
255bc2a
·
1 Parent(s): 4ab77bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def greet(image, in_contrast, in_brightness):
10
  new_image = cv2.convertScaleAbs(image, alpha=in_contrast, beta=in_brightness)
11
 
12
  cv2.imshow("Display window", new_image);
13
- int k = waitKey(0); // Wait for a keystroke in the window
14
  return new_image
15
 
16
 
 
10
  new_image = cv2.convertScaleAbs(image, alpha=in_contrast, beta=in_brightness)
11
 
12
  cv2.imshow("Display window", new_image);
13
+ cv2.waitKey(0)
14
  return new_image
15
 
16