Skip to content

Instantly share code, notes, and snippets.

@caponetto
Created January 10, 2022 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caponetto/50c5f6cea592426e0bec0b9f7019ee12 to your computer and use it in GitHub Desktop.
Save caponetto/50c5f6cea592426e0bec0b9f7019ee12 to your computer and use it in GitHub Desktop.
Teachable Machine Playground (Model.tsx)
export const NAIL_BITING_DETECTOR_MODEL: Readonly<ModelDescriptor> = {
name: "nail-biting-detector",
classes: ["normal", "nail-biting"],
modelJson: routes.models.nbd.modelJson,
metadataJson: routes.models.nbd.metadataJson,
};
// You new model goes here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment