coreml-service-yolov8/Sources/App/routes.swift
2024-04-18 14:30:03 +02:00

8 lines
204 B
Swift

import Vapor
func routes(_ app: Application) throws {
let recoController = RecognitionController(modelsPath: "")
try app.register(collection: recoController)
try recoController.loadModel()
}