Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ st.markdown(
|
|
| 41 |
"""
|
| 42 |
<style>
|
| 43 |
body {
|
| 44 |
-
background-image: url('https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/
|
| 45 |
background-size: cover;
|
| 46 |
background-repeat: no-repeat;
|
| 47 |
background-attachment: fixed;
|
|
@@ -167,6 +167,12 @@ except LookupError:
|
|
| 167 |
stop_words = set(stopwords.words('english')).union({"pm"})
|
| 168 |
lemmatizer = WordNetLemmatizer()
|
| 169 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
# Preprocessing Function
|
| 171 |
def pre_process(x):
|
| 172 |
x = x.lower()
|
|
|
|
| 41 |
"""
|
| 42 |
<style>
|
| 43 |
body {
|
| 44 |
+
background-image: url('https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/ut9wBSlRR2CCpw95V5ej8.jpeg');
|
| 45 |
background-size: cover;
|
| 46 |
background-repeat: no-repeat;
|
| 47 |
background-attachment: fixed;
|
|
|
|
| 167 |
stop_words = set(stopwords.words('english')).union({"pm"})
|
| 168 |
lemmatizer = WordNetLemmatizer()
|
| 169 |
|
| 170 |
+
import nltk
|
| 171 |
+
nltk.download('punkt')
|
| 172 |
+
nltk.download('stopwords')
|
| 173 |
+
nltk.download('wordnet')
|
| 174 |
+
|
| 175 |
+
|
| 176 |
# Preprocessing Function
|
| 177 |
def pre_process(x):
|
| 178 |
x = x.lower()
|