Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import pandas as pd
|
| 3 |
import joblib
|
|
@@ -7,7 +8,6 @@ import nltk
|
|
| 7 |
from nltk.corpus import stopwords as stp
|
| 8 |
from nltk import pos_tag, word_tokenize as w, sent_tokenize as s
|
| 9 |
from nltk.stem import WordNetLemmatizer as wl
|
| 10 |
-
import os
|
| 11 |
NLTK_DATA_PATH = "/app/nltk_data"
|
| 12 |
os.makedirs(NLTK_DATA_PATH, exist_ok=True)
|
| 13 |
os.environ["NLTK_DATA"] = NLTK_DATA_PATH
|
|
|
|
| 1 |
+
import os
|
| 2 |
import streamlit as st
|
| 3 |
import pandas as pd
|
| 4 |
import joblib
|
|
|
|
| 8 |
from nltk.corpus import stopwords as stp
|
| 9 |
from nltk import pos_tag, word_tokenize as w, sent_tokenize as s
|
| 10 |
from nltk.stem import WordNetLemmatizer as wl
|
|
|
|
| 11 |
NLTK_DATA_PATH = "/app/nltk_data"
|
| 12 |
os.makedirs(NLTK_DATA_PATH, exist_ok=True)
|
| 13 |
os.environ["NLTK_DATA"] = NLTK_DATA_PATH
|