Applied consistent formatting to align with the project's style guidelines, including adjustments to line breaks, parentheses, and object destructuring. These changes enhance code readability and maintainability without altering functionality.
Replaced `@tensorflow/tfjs` and `@tensorflow/tfjs-layers` with `@tensorflow/tfjs-backend-webgl` to optimize backend performance and reduce unused package imports.
Made code more concise by removing unnecessary semicolons and adjusting the code formatting to align with the project's style. Improved readability and maintainability.