huimanho commited on
Commit
400a4ed
·
verified ·
1 Parent(s): 03ee685

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ lemmatizer = WordNetLemmatizer()
19
  stop_words = set(stopwords.words('english'))
20
 
21
  # Load Hugging Face pipelines
22
- sentiment_pipeline = pipeline("sentiment-analysis", model="distilbert-base-uncased-finetuned-sst-2-english")
23
  ner_pipeline = pipeline("ner", model="dbmdz/bert-large-cased-finetuned-conll03-english", aggregation_strategy="simple")
24
 
25
  # Function to preprocess text
 
19
  stop_words = set(stopwords.words('english'))
20
 
21
  # Load Hugging Face pipelines
22
+ sentiment_pipeline = pipeline("sentiment-analysis", model="distilbert/distilbert-base-uncased-finetuned-sst-2-english")
23
  ner_pipeline = pipeline("ner", model="dbmdz/bert-large-cased-finetuned-conll03-english", aggregation_strategy="simple")
24
 
25
  # Function to preprocess text