Username (e.g. epiz_XXX) or Website URL
https://allzen.tech/pose-detection/demos/upload_video/
Error Message
Error message on Safari:
SyntaxError: Unexpected string literal ‘@tensorflow/tfjs-backend-webgl’. import call expects exactly one argument.
Error message on Chrome:
SyntaxError: Cannot use import statement outside a module
Both the errors re occurring on this line in index.js:
import '@tensorflow/tfjs-backend-webgl';
Other Information
Here is the link to the demo page I’m trying to implement: tfjs-models/pose-detection/demos/upload_video at master · tensorflow/tfjs-models · GitHub
This project uses yarn as the package manger and when I run on my localhost , I run the following commands in the terminal when deploying:
yarn build-dep
yarn
yarn watch
I don’t know how to run these commands on infinity free , I feel this is the problem. Pls help
(other information and details relevant to your question)