thanhcong2001 commited on
Commit
d417cc5
·
verified ·
1 Parent(s): 71f1dc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ df = pd.read_csv('sentiment_data.csv')
4
  texts = df['text'].astype(str)
5
  # Load NER model
6
  import spacy
7
- model = spacy.load('en_core_web_lg')
8
  # Extract entities
9
  result = []
10
  for i in texts:
 
4
  texts = df['text'].astype(str)
5
  # Load NER model
6
  import spacy
7
+ model = spacy.load('en-core-web-sm')
8
  # Extract entities
9
  result = []
10
  for i in texts: