Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,6 +17,7 @@ def greet(image):
|
|
| 17 |
|
| 18 |
prediction = np.argmax(prediction,axis=2)
|
| 19 |
|
|
|
|
| 20 |
print(prediction.shape)
|
| 21 |
|
| 22 |
|
|
|
|
| 17 |
|
| 18 |
prediction = np.argmax(prediction,axis=2)
|
| 19 |
|
| 20 |
+
prediction = np.repeat(prediction[:, :, np.newaxis]*255, 3, axis=2)
|
| 21 |
print(prediction.shape)
|
| 22 |
|
| 23 |
|