aje6 commited on
Commit
96f1f98
·
verified ·
1 Parent(s): 12a96f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -268,6 +268,8 @@ def predict(image):
268
  # print(type(output))
269
  print(output)
270
 
 
 
271
  annotated_img = output[0]
272
 
273
  return annotated_img
 
268
  # print(type(output))
269
  print(output)
270
 
271
+ output = (output / 255.0 - mean)/std
272
+
273
  annotated_img = output[0]
274
 
275
  return annotated_img