Update app.py
Browse files
app.py
CHANGED
@@ -10,9 +10,10 @@ import nltk
|
|
10 |
from nltk.tokenize import sent_tokenize
|
11 |
from fin_readability_sustainability import BERTClass, do_predict
|
12 |
import pandas as pd
|
13 |
-
|
|
|
14 |
nltk.download('punkt')
|
15 |
-
nlp = spacy.load("en_core_web_sm")
|
16 |
|
17 |
st.set_page_config(layout="wide")
|
18 |
st.cache(show_spinner=False, persist=True)
|
|
|
10 |
from nltk.tokenize import sent_tokenize
|
11 |
from fin_readability_sustainability import BERTClass, do_predict
|
12 |
import pandas as pd
|
13 |
+
import en_core_web_sm
|
14 |
+
nlp = en_core_web_sm.load()
|
15 |
nltk.download('punkt')
|
16 |
+
#nlp = spacy.load("en_core_web_sm")
|
17 |
|
18 |
st.set_page_config(layout="wide")
|
19 |
st.cache(show_spinner=False, persist=True)
|