SUPERFIRE777 commited on
Commit
b9ae502
·
1 Parent(s): 24e79c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def analyze(sentence):
17
  en_sentence = translation.text
18
 
19
  # Create a TextBlob object for the sentence
20
- blob = TextBlob(sentence)
21
 
22
  # Get the polarity score for the sentence
23
  polarity_score = blob.sentiment.polarity
 
17
  en_sentence = translation.text
18
 
19
  # Create a TextBlob object for the sentence
20
+ blob = TextBlob(en_sentence)
21
 
22
  # Get the polarity score for the sentence
23
  polarity_score = blob.sentiment.polarity