Congratulations on exporting your model! In this step, you will run the web application locally. You do not need to modify any of the application code to get this working.
The web application uses Node.js Yarn. To perform local development, you will need Node.js and Yarn installed.
Once you have all of the packages installed and the application built:
-
Open a terminal and navigate to the sample web application folder
-
Run the following command to install the project dependencies
yarn install
After you have installed all of the project dependencies, you are all set to run it!
-
Open a terminal and navigate to the sample web application folder
-
Run the following commands to start the development server:
yarn start
-
Open the website by navigating to http://localhost:3000.
That's a sharpie, not a bird! The model will always attempt to label an image with the best fitting label it knows - even if it doesn't make sense.
⚠️ Browser permissions Your browser may ask you accept opening the insecure site "localhost:3000" or ask if the page can access your device cameras. Please refer to your browser documentation on how to do this. -
It's ready to use! You can either upload an image from your device or use your device camera.
Your team might find these resources helpful: