Created
January 10, 2022 14:28
-
-
Save caponetto/3e78a5d7a2089051fbe7282ae716e991 to your computer and use it in GitHub Desktop.
Teachable Machine Playground (Routes.tsx)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const routes = { | |
nav: { | |
root: { path: "/", name: "" }, | |
home: { path: "/home", name: "Home" }, | |
nbd: { path: "/nail-biting-detector", name: "Nail-Biting Detector" }, | |
// Your new route goes here | |
}, | |
images: { | |
robot: "/static/images/robot.png", | |
}, | |
sounds: { | |
alert: "/static/sounds/alert.mp3", | |
}, | |
models: { | |
nbd: { | |
modelJson: "/static/models/nail-biting-detector/model.json", | |
metadataJson: "/static/models/nail-biting-detector/metadata.json", | |
}, | |
// Your new model goes here | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment