vahidrezanezhad commited on
Commit
0f3e703
·
verified ·
1 Parent(s): 3e75f70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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