A JavaScript-based web application demonstrating real-time AI inference in the browser using TensorFlow.js.
This project showcases how to run machine learning models directly in the browser using TensorFlow.js. It provides a simple web interface to interact with a pre-trained model, demonstrating the power of client-side AI for real-time applications.
- Browser-based AI: Runs ML models entirely in the user's browser.
- TensorFlow.js: Leverages the TensorFlow.js library for model loading and inference.
- Real-time Inference: Demonstrates immediate predictions without server roundtrips.
- Simple UI: An intuitive web interface for interaction.
git clone https://github.com/Theoplad9/Web-AI-Demo.git
cd Web-AI-Demo
npm install- Start the development server:
npm start
- Open your browser to
http://localhost:8080(or the port indicated by the server). - Interact with the AI model directly in your browser.
Web-AI-Demo/
├── public/
│ ├── index.html
│ └── style.css
├── src/
│ └── main.js
├── models/
│ └── (pre-trained_model_files)
├── package.json
├── README.md
└── LICENSE
Contributions are welcome! Please see CONTRIBUTING.md for details.
This project is licensed under the MIT License - see the LICENSE file for details.