Spaces:
Runtime error
Runtime error
Commit ·
f13a593
1
Parent(s): f0232ad
modified way to import spacy language model
Browse files
app.py
CHANGED
|
@@ -69,6 +69,8 @@ tag_list = ['c#',
|
|
| 69 |
'django']
|
| 70 |
|
| 71 |
# Instantiating language model, english
|
|
|
|
|
|
|
| 72 |
import en_core_web_sm
|
| 73 |
nlp = en_core_web_sm.load()
|
| 74 |
|
|
|
|
| 69 |
'django']
|
| 70 |
|
| 71 |
# Instantiating language model, english
|
| 72 |
+
nlp = spacy.load("en_core_web_sm")
|
| 73 |
+
|
| 74 |
import en_core_web_sm
|
| 75 |
nlp = en_core_web_sm.load()
|
| 76 |
|