- Open CMD Terminal
- Write following mentioned commands:-
2.1) pip install --upgrade pip (one-time command)
2.2) pip install virtualenv (one-time command)
2.3) pip install virtualenvwrapper-win (one-time command)
2.4) mkvirtualenv bert (one-time command)
2.5) setprojectdir.(Filepath of bert model) (one-time command)
2.6) workon bert (For again running the code)
here your virtual environment will be activated, follow the following commands:-
2.7) pip install tensorflow (one-time command)
2.8) pip install Flask (one-time command)
2.9) pip install tensorflow-text (one-time command)
- Run FLASK FILE (Command is mentioned below)
3.1) python spamcheck.py (For again running the code)