Abhishek Gola
commited on
Commit
·
e4e8adf
1
Parent(s):
5391ff2
Updated app.py
Browse files
app.py
CHANGED
|
@@ -83,7 +83,7 @@ def update_image_state(new_image):
|
|
| 83 |
Called only when the user actually loads or picks a new image.
|
| 84 |
Reset everything here.
|
| 85 |
"""
|
| 86 |
-
if new_image is None
|
| 87 |
return None, None
|
| 88 |
|
| 89 |
bgr = cv.cvtColor(new_image, cv.COLOR_RGB2BGR)
|
|
|
|
| 83 |
Called only when the user actually loads or picks a new image.
|
| 84 |
Reset everything here.
|
| 85 |
"""
|
| 86 |
+
if new_image is None:
|
| 87 |
return None, None
|
| 88 |
|
| 89 |
bgr = cv.cvtColor(new_image, cv.COLOR_RGB2BGR)
|