bearking58 commited on
Commit
236bdc5
·
1 Parent(s): 3953432

fix: not calling the download function

Browse files
core-model-prediction/hypothesis.py CHANGED
@@ -14,6 +14,7 @@ import zipfile
14
 
15
  class BaseModelHypothesis:
16
  def __init__(self):
 
17
  self.analyzer = SentimentIntensityAnalyzer()
18
  self.lexicon_df = pd.read_csv(
19
  "https://storage.googleapis.com/interview-ai-detector/higher-accuracy-final-model/NRC-Emotion-Lexicon.csv")
 
14
 
15
  class BaseModelHypothesis:
16
  def __init__(self):
17
+ self.download_and_extract_nltk_data()
18
  self.analyzer = SentimentIntensityAnalyzer()
19
  self.lexicon_df = pd.read_csv(
20
  "https://storage.googleapis.com/interview-ai-detector/higher-accuracy-final-model/NRC-Emotion-Lexicon.csv")