narain commited on
Commit
f82c801
·
1 Parent(s): 634fed0

update code

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ depth_model = AutoModelForDepthEstimation.from_pretrained("depth-anything/Depth-
20
 
21
  def apply_blur(image, blur_type, blur_strength):
22
  # Convert image to RGB
23
- img = cv2.cvtColor(image)
24
 
25
  if blur_type == "Gaussian":
26
  # Use Segformer for Gaussian blur
 
20
 
21
  def apply_blur(image, blur_type, blur_strength):
22
  # Convert image to RGB
23
+ img = image
24
 
25
  if blur_type == "Gaussian":
26
  # Use Segformer for Gaussian blur