Spaces:
Sleeping
Sleeping
Fixed getImage indentation issues
Browse files
app.py
CHANGED
@@ -34,7 +34,8 @@ def getImage(image):
|
|
34 |
formatted = (output * 255 / np.max(output)).astype("uint8")
|
35 |
depth = Image.fromarray(formatted)
|
36 |
depth = np.asarray(depth)
|
37 |
-
|
|
|
38 |
# create blurred version of original image
|
39 |
blurred = cv.GaussianBlur(np.asarray(image), (99, 99), sigmaX=0)
|
40 |
|
@@ -52,7 +53,7 @@ def getImage(image):
|
|
52 |
|
53 |
image = blurred
|
54 |
return image
|
55 |
-
"""
|
56 |
return depth
|
57 |
|
58 |
|
|
|
34 |
formatted = (output * 255 / np.max(output)).astype("uint8")
|
35 |
depth = Image.fromarray(formatted)
|
36 |
depth = np.asarray(depth)
|
37 |
+
|
38 |
+
"""
|
39 |
# create blurred version of original image
|
40 |
blurred = cv.GaussianBlur(np.asarray(image), (99, 99), sigmaX=0)
|
41 |
|
|
|
53 |
|
54 |
image = blurred
|
55 |
return image
|
56 |
+
"""
|
57 |
return depth
|
58 |
|
59 |
|