miguelflores-0906 commited on
Commit
56fb5c0
·
1 Parent(s): 18b4d06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def snap(image, video):
9
  onnx_model = onnx.load("M-Raw.onnx")
10
  text = onnx.checker.check_model(onnx_model)
11
  print("The model is checked")
12
- ort_sess = ort.InferenceSession(onnx_model)
13
  output = ort_sess.run(None, image)
14
  return [output]
15
 
 
9
  onnx_model = onnx.load("M-Raw.onnx")
10
  text = onnx.checker.check_model(onnx_model)
11
  print("The model is checked")
12
+ ort_sess = ort.InferenceSession("M-Raw.onnx")
13
  output = ort_sess.run(None, image)
14
  return [output]
15