This is a web application built using React and Flask that allows users to connect and use a Tuberculosis (TB) detection machine learning model. The application provides a user-friendly interface for uploading Cough Sounds and obtaining predictions about the presence of TB using the pre-trained ML model.
-
Clone the repository:
git clone https://github.com/harish3124/tb-detection-web.git
-
Navigate to the project directory:
cd tb-detection-web
-
Install the dependencies for the Flask backend:
poetry install
-
Install the dependencies for the React frontend:
cd client npm install
-
Start the Flask backend server:
poetry shell flask --app server.py
-
In a separate terminal, start the React development server:
cd client npm start