Sanket commited on
Commit ·
a820e5d
1
Parent(s): 14b30fc
fix error
Browse files
app.py
CHANGED
|
@@ -128,7 +128,7 @@ def predict(input_img, ver):
|
|
| 128 |
Green = source[G].point(lambda i: i < 150 & i / constant)
|
| 129 |
Blue = source[B].point(lambda i: i < 150 & i / constant)
|
| 130 |
|
| 131 |
-
|
| 132 |
return im_output
|
| 133 |
|
| 134 |
|
|
|
|
| 128 |
Green = source[G].point(lambda i: i < 150 & i / constant)
|
| 129 |
Blue = source[B].point(lambda i: i < 150 & i / constant)
|
| 130 |
|
| 131 |
+
im_output = Image.merge(drawing.mode, (Red, Green, Blue))
|
| 132 |
return im_output
|
| 133 |
|
| 134 |
|