Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 981 Bytes

README.md

File metadata and controls

53 lines (40 loc) · 981 Bytes

Installation

It is recommended that the notebook is run in Google Colab, although if you want, you can run it locally as well.

For local setup, follow these steps to set up your environment and install project dependencies:

Clone the repository

git clone https://github.com/Mohit-Talgotra/NewsClassifier.git

Navigate to the project directory

cd NewsClassifier

Create a virtual environment (recommended)

python -m venv venv

Activate the virtual environment

On Windows:

#First run:
cd venv/Scripts

#Then:
./Activate.ps1

On macOS and Linux:

#First run:
cd venv/bin

#Then:
source ./activate

Install project dependencies from requirements.txt

pip install -r requirements.txt

Running Jupyter Notebook

To run Jupyter Notebook, use the following command:

jupyter notebook

This will start the Jupyter Notebook server, and you can access it in your web browser by following the provided URL.