sjagird1 commited on
Commit
138ec37
·
verified ·
1 Parent(s): 6bf0bf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ def process_image(image, blur_type, sigma=15):
119
  if blur_type == "Gaussian Background Blur":
120
  result = apply_gaussian_blur(pil_image, sigma)
121
  elif blur_type == "Depth-Aware Lens Blur":
122
- result = apply_depth_aware_blur(pil_image, max_sigma)
123
  else:
124
  result = pil_image
125
 
 
119
  if blur_type == "Gaussian Background Blur":
120
  result = apply_gaussian_blur(pil_image, sigma)
121
  elif blur_type == "Depth-Aware Lens Blur":
122
+ result = apply_depth_aware_blur(pil_image, max_sigma=0)
123
  else:
124
  result = pil_image
125