emilios commited on
Commit
c80709d
1 Parent(s): e3a86b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def apply_filter(img, filters):
38
  np.maximum(newimage, image_filter, newimage)
39
  return newimage
40
 
41
- def greet(image, in_contrast, in_brightness):
42
  in_contrast = float(in_contrast)
43
  in_brightness = float(in_brightness)
44
  # contrast [1.0-3.0]
 
38
  np.maximum(newimage, image_filter, newimage)
39
  return newimage
40
 
41
+ def greet(image, in_contrast=1, in_brightness=0):
42
  in_contrast = float(in_contrast)
43
  in_brightness = float(in_brightness)
44
  # contrast [1.0-3.0]