Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,6 +93,7 @@ def main():
|
|
| 93 |
ret, thresh = cv2.threshold(edited_image, 127, 255, cv2.THRESH_BINARY)
|
| 94 |
img2 = input_image.copy()
|
| 95 |
seed_seg = np.random.randint(0,10000)
|
|
|
|
| 96 |
np.random.seed(seed_seg)
|
| 97 |
colors = np.random.randint(0,255,(3))
|
| 98 |
colors2 = np.random.randint(0,255,(3))
|
|
|
|
| 93 |
ret, thresh = cv2.threshold(edited_image, 127, 255, cv2.THRESH_BINARY)
|
| 94 |
img2 = input_image.copy()
|
| 95 |
seed_seg = np.random.randint(0,10000)
|
| 96 |
+
seed_seg = 100
|
| 97 |
np.random.seed(seed_seg)
|
| 98 |
colors = np.random.randint(0,255,(3))
|
| 99 |
colors2 = np.random.randint(0,255,(3))
|