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