madhwdh11 commited on
Commit
b63c8a4
·
verified ·
1 Parent(s): c4c8d09

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -6,7 +6,7 @@ import numpy as np
6
  app = FastAPI()
7
 
8
  # Load the ONNX model session
9
- session = ort.InferenceSession("model.onnx", providers=["CPUExecutionProvider"])
10
  input_name = session.get_inputs()[0].name
11
  output_name = session.get_outputs()[0].name
12
 
 
6
  app = FastAPI()
7
 
8
  # Load the ONNX model session
9
+ session = ort.InferenceSession("main/model.onnx", providers=["CPUExecutionProvider"])
10
  input_name = session.get_inputs()[0].name
11
  output_name = session.get_outputs()[0].name
12