CoolFace
Apppublic

black-diamond123/intrusion-detection-system

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
App README

intrusion-detection-dashboard

How to set up the project.

  1. 1.Install python 3.8 or above if not available
  2. 2.Create virtual environment name env in the project folder : python -m venv .venv
  3. 3.Move to the project folder and activate virtual environment :
  4. 4.in Mac and Linux :source .venv/bin/activate
  5. 5.in Windows : run activate.bat file which is inside \.venv\Scripts folder by running .venv\Scripts\activate
  6. 6.Install required libraries : pip3 install -r requirements.txt
  7. 7.After stop the project, deactivate virtual environment : deactivate

Run project

  1. 1.add your machine learning model to the /model directory. Name should be finalmodel.pkl.
  1. 1.streamlit run home.py

Save Dependancies

  1. 1.Run pip freeze > requirements.txt after installing any pip package