This is the project setup video. We'll be setting up our svelte.js website. Installing the luckiest guy font and installing the tensorflow and teachable machine npm packages.
Code:
https://github.com/phptuts/svelte-teachable-machine/tree/1-project-setup
Run
npx npx degit sveltejs/template .
npm install
npm run @teachablemachine/image @tensorflow/tfjs
Font we use
https://fonts.google.com/specimen/Luckiest+Guy
CSS
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');
body {
font-family: 'Luckiest Guy', cursive;
}
Project Demo:
https://phptuts.github.io/svelte-teachable-machine/