akhaliq HF staff commited on
Commit
c0b7f9b
1 Parent(s): 19ea73e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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
- options = rt.SessionOptions()
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):