jasmine1601 / Sentiment-Analysis-using-SVM

Sentiment analysis of customer reviews for various Amazon Alexa products.
https://jasmine1601-sentiment-analysis-using-svm-app-apk8mh.streamlit.app/
5 stars 6 forks source link

fix: streamlit error #13

Closed srini047 closed 1 year ago

srini047 commented 1 year ago

Related Issue

Fixes #2

Files that have been updated

Changes that have been made

Changed the sklearn version (inconsistency) which caused the error in the streamlit development.

srini047 commented 1 year ago

Check the deployed app here (to test its working): https://srini047-sentiment-analysis-using-svm-app-streamlit-dev-jx27sj.streamlit.app/

Screenshot 2022-12-24 at 1 50 21 PM

Improvements

jasmine1601 commented 1 year ago

@srini047 Remove the commented code from app.py (lines 4-6) and the cell containing %%writefile app.py in the .ipynb file

srini047 commented 1 year ago

@jasmine1601 That results in an error.

    body = p()
NameError: name 'p' is not defined
jasmine1601 commented 1 year ago

@srini047 I asked you to remove the commented code, not uncomment it.

srini047 commented 1 year ago

@jasmine1601 Sorry for the misunderstanding. I have done the necessary changes. Please re-review my PR.