Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -268,9 +268,9 @@ def predict(image):
|
|
| 268 |
# print(type(output))
|
| 269 |
print(output)
|
| 270 |
|
| 271 |
-
|
| 272 |
|
| 273 |
-
annotated_img = output[0]
|
| 274 |
|
| 275 |
return annotated_img
|
| 276 |
|
|
|
|
| 268 |
# print(type(output))
|
| 269 |
print(output)
|
| 270 |
|
| 271 |
+
annotated_img = (output[0] / 255.0 - mean)/std
|
| 272 |
|
| 273 |
+
# annotated_img = output[0]
|
| 274 |
|
| 275 |
return annotated_img
|
| 276 |
|