mallelapreethi
commited on
Commit
•
d2f7e63
1
Parent(s):
b64a51d
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,6 @@ def image_to_sketch(image):
|
|
11 |
blurred_image = cv2.GaussianBlur(inverted_image, (21, 21), 0)
|
12 |
inverted_blurred = 255 - blurred_image
|
13 |
sketch = cv2.divide(gray_image, inverted_blurred, scale=256.0)
|
14 |
-
|
15 |
-
|
16 |
return sketch
|
17 |
|
18 |
# Streamlit app layout
|
|
|
11 |
blurred_image = cv2.GaussianBlur(inverted_image, (21, 21), 0)
|
12 |
inverted_blurred = 255 - blurred_image
|
13 |
sketch = cv2.divide(gray_image, inverted_blurred, scale=256.0)
|
|
|
|
|
14 |
return sketch
|
15 |
|
16 |
# Streamlit app layout
|