Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,12 +4,12 @@ import numpy as np
|
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
examples = [
|
| 7 |
-
'
|
| 8 |
-
'
|
| 9 |
]
|
| 10 |
masks = [
|
| 11 |
-
'
|
| 12 |
-
'
|
| 13 |
]
|
| 14 |
|
| 15 |
def edge_detection(mode_selector, upload_input, image_selector, image_selected, threshold1, threshold2):
|
|
|
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
examples = [
|
| 7 |
+
'176788.jpg',
|
| 8 |
+
'182862.jpg'
|
| 9 |
]
|
| 10 |
masks = [
|
| 11 |
+
'mask1.jpg',
|
| 12 |
+
'mask2.jpg'
|
| 13 |
]
|
| 14 |
|
| 15 |
def edge_detection(mode_selector, upload_input, image_selector, image_selected, threshold1, threshold2):
|