Spaces:
Sleeping
Sleeping
Niraj70194
commited on
Update app.py
Browse files
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
|
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")
|