- Open Colab at Google Colab or Jupyter Notebook or Local iPYNB file Hosting Server.
- Load the tweet_emotions.csv (Dataset file) into the Colab at Google Colab or Jupyter Notebook or Local iPYNB file Hosting Server by uploading the file and setting the path accordingly.
- Check for left sidebar for “Files” to upload the dataset file and click on the three dots menu for the file and then select “copy the path” and set it in the read_csv() path.
-
Run the cells by using “Ctrl+Enter” or check for the menu on the top panel.
-
For the Real-Time Audio Demo upload the audio file to drive or the left sidebar for “Files” in the same way as for dataset and then select “copy the path” to speech_to_text() function.
- Run the Cell and the output will be printed in the form of : “Negative” for 0, “Neutral” for 1 and “Positive” for 2, Sample Output