This is the repository for the Sentiment Analysis on Product Reviews for classifying positive and negative reviews.
Built Using Machine Learning
👇 Checkout the jupyter notebook of the trained model
The Backend server is written using Python Framework FastAPI and hosted on Heroku
👇 Read More about the documentation of API
The Frontend is written using Python Framework Streamlit and hosted on Streamlit hosting service
👇 Checkout the website
1. Clone the repo
>> git clone repo_link
2. Change your current directory to the repo
>> cd directory_name
3. Activate virtual environment
>> $base> python -m venv venv
>> $base> .\venv\Scripts\activate
4. Run the backend server
>> (venv) $base> cd Backend
>> (venv) $base/Backend> pip install -r requirements.txt
>> (venv) $base/Backend> uvicorn main:app --reload
5. Run the frontend server(make sure to edit url for API calls to backend server url)
>> (venv) $base> cd Frontend
>> (venv) $base/Frontend> pip install -r requirements.txt
>> (venv) $base/Frontend> streamlit run main.py
Pull requests are welcome.
For major changes, please open an issue first to discuss what you would like to change.