We worked on the project in an Anaconda
virtual environment. Therefore, the command also used the Anaconda
command. If you don't use anaconda, you can install it using the pip
command.
git clone https://github.com/FeelSoftwareConvergence/FeelSoftwareDjango.git
conda install django
conda install -c conda-forge djangorestframework
conda install pandas
conda install numpy
conda install scikit-learn
conda install -c conda-forge lightgbm
Running the requirements.cmd file also works the same as the general method.
./requirements.cmd
if this command doesn't work. please change file permission for executing that.
chmod +x ./requirements.cmd
python manage.py runserver
url http://127.0.0.1:8000/sentiment/sentiment_analysis/ 이동
comment = "귀여워❤️ 언니 올해는 5월이나 종강할때 꼭 시간내봐요 ㅎㅎ선배 넘 넘 귀엽다!!..."
content = "#하루필름"
hashtag = "하루필름"
title = list(sentiment_result['title'])
artist = list(sentiment_result['artist'])