Spaces:
Paused
Paused
beweinreich
commited on
Commit
•
313433a
1
Parent(s):
72cd425
switched which model were loading
Browse files
multi_food_item_detector.py
CHANGED
@@ -2,7 +2,7 @@ import spacy
|
|
2 |
import re
|
3 |
|
4 |
# Load the spaCy model
|
5 |
-
nlp = spacy.load("
|
6 |
|
7 |
def get_nouns(text):
|
8 |
doc = nlp(text)
|
|
|
2 |
import re
|
3 |
|
4 |
# Load the spaCy model
|
5 |
+
nlp = spacy.load("en_core_web_trf")
|
6 |
|
7 |
def get_nouns(text):
|
8 |
doc = nlp(text)
|