Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,9 +47,6 @@ def center_crop(img, out_height, out_width):
|
|
47 |
img = img[top:bottom, left:right]
|
48 |
return img
|
49 |
|
50 |
-
options = rt.SessionOptions()
|
51 |
-
options.intra_op_num_threads = 1
|
52 |
-
options.inter_op_num_threads = 1
|
53 |
|
54 |
sess = rt.InferenceSession('inception-v1-12.onnx')
|
55 |
|
|
|
47 |
img = img[top:bottom, left:right]
|
48 |
return img
|
49 |
|
|
|
|
|
|
|
50 |
|
51 |
sess = rt.InferenceSession('inception-v1-12.onnx')
|
52 |
|