aditya0929 commited on
Commit
170f4f4
·
1 Parent(s): a83d16c

Fix model path in main.py

Browse files
app/main.py CHANGED
@@ -5,7 +5,7 @@ from PIL import Image
5
  import io
6
 
7
  app = FastAPI()
8
- model = YOLO("app/model.pt") # Load the trained YOLOv11/12 model
9
 
10
  @app.get("/")
11
  def read_root():
 
5
  import io
6
 
7
  app = FastAPI()
8
+ model = YOLO("model.pt") # Load the trained YOLOv11/12 model
9
 
10
  @app.get("/")
11
  def read_root():
app/{best.onnx → model.onnx} RENAMED
File without changes
app/{best.pt → model.pt} RENAMED
File without changes