We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4abfd66 commit 44bc9fbCopy full SHA for 44bc9fb
mini_agent/ai_runner.py
@@ -0,0 +1,6 @@
1
+import onnxruntime as ort
2
+
3
+def run_model(model_path, inputs: dict):
4
+ sess = ort.InferenceSession(model_path)
5
+ outputs = sess.run(None, inputs)
6
+ return outputs
0 commit comments