Spaces:
Runtime error
Runtime error
Commit ·
79bfb20
1
Parent(s): 8bc3fa6
different way to import spacy language model
Browse files
app.py
CHANGED
|
@@ -69,7 +69,8 @@ tag_list = ['c#',
|
|
| 69 |
'django']
|
| 70 |
|
| 71 |
# Instantiating language model, english
|
| 72 |
-
|
|
|
|
| 73 |
|
| 74 |
# Importing stopwords
|
| 75 |
with open('./stopwords/stopwords.txt') as file:
|
|
|
|
| 69 |
'django']
|
| 70 |
|
| 71 |
# Instantiating language model, english
|
| 72 |
+
import en_core_web_sm
|
| 73 |
+
nlp = en_core_web_sm.load()
|
| 74 |
|
| 75 |
# Importing stopwords
|
| 76 |
with open('./stopwords/stopwords.txt') as file:
|