shubhamjaiswar commited on
Commit
917ec80
·
1 Parent(s): 298027a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from nltk.sentiment.vader import SentimentIntensityAnalyzer
3
- import nltk
4
- nltk.download()
5
  def sentiment_analysis(sentiment_text):
6
  score = SentimentIntensityAnalyzer().polarity_scores(sentiment_text)
7
  if score['neg']>score['pos']:
 
1
  import gradio as gr
2
  from nltk.sentiment.vader import SentimentIntensityAnalyzer
3
+ # import nltk
4
+ # nltk.download()
5
  def sentiment_analysis(sentiment_text):
6
  score = SentimentIntensityAnalyzer().polarity_scores(sentiment_text)
7
  if score['neg']>score['pos']: