Niraj70194 commited on
Commit
640d64f
·
verified ·
1 Parent(s): ac0c7c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ segmentation_model = BeitForSemanticSegmentation.from_pretrained("microsoft/beit
13
  depth_feature_extractor = DPTImageProcessor.from_pretrained("Intel/dpt-large")
14
  depth_model = DPTForDepthEstimation.from_pretrained("Intel/dpt-large")
15
 
16
- def apply_gaussian_blur(image: Image.Image) -> Image.Image:
17
  # Resize and preprocess the image
18
  image = image.resize((512, 512)).convert("RGB")
19
  inputs = image_processor(image, return_tensors="pt")
 
13
  depth_feature_extractor = DPTImageProcessor.from_pretrained("Intel/dpt-large")
14
  depth_model = DPTForDepthEstimation.from_pretrained("Intel/dpt-large")
15
 
16
+ def apply_gaussian_blur(image):
17
  # Resize and preprocess the image
18
  image = image.resize((512, 512)).convert("RGB")
19
  inputs = image_processor(image, return_tensors="pt")