Skip to content

JayanthSriram27/Emotion-detection-from-text-or-speech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Emotion detection from text/speech

  • 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.

image

  • 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.

image

  • 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.

image

  • 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

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published