Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -74,9 +74,9 @@ import tensorflow as tf
|
|
74 |
from tensorflow.keras.preprocessing.sequence import pad_sequences
|
75 |
import spacy
|
76 |
#from spacy import en_core_web_lg
|
77 |
-
import en_core_web_lg
|
78 |
-
nlp = en_core_web_lg.load()
|
79 |
-
|
80 |
|
81 |
#tfds.disable_progress_bar()
|
82 |
MAX_SEQUENCE_LENGTH = 500
|
|
|
74 |
from tensorflow.keras.preprocessing.sequence import pad_sequences
|
75 |
import spacy
|
76 |
#from spacy import en_core_web_lg
|
77 |
+
#import en_core_web_lg
|
78 |
+
#nlp = en_core_web_lg.load()
|
79 |
+
nlp = spacy.load('en_core_web_sm')
|
80 |
|
81 |
#tfds.disable_progress_bar()
|
82 |
MAX_SEQUENCE_LENGTH = 500
|