Code is all well written. Just follow the steps and execute them in your command prompt.
1.Create folder 'Corona Virus Dataset-Sentimental Analysis' on Desktop without quotes.
2.Add Coronavirus dataset files, total 5 in number.
3.Add the attached repository files 'app.py' and 'twitter_live_sentiment_streaming.py' to the same folder
4.Make sure all the files are there in the data directory as mentioned in the app.py file. Move the 'twitter_live_sentiment_streaming.py' also to the same directory.Change the directory as per your computer accordingly.
5.Open 2 command prompts. Execute the command 'python app.py' in one cmd prompt and 'python twitter_live_sentiment_streaming.py' in another cmd prompt(run the streaming file FIRST) without quotes. Make sure you are in the correct directory, or else it will not be able to find the file.
-
Make changes to the app.py file and save the changes. Repeat steps 1 to 3 for seeing the update on localhost i.e., http://127.0.0.1:8050/
-
Some Useful Links: https://dash-bootstrap-components.opensource.faculty.ai/