Commit
·
56fb5c0
1
Parent(s):
18b4d06
Update app.py
Browse files
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(
|
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 |
|