Spaces:
Runtime error
Runtime error
Commit
·
38e3c18
1
Parent(s):
3fc377f
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,3 @@
|
|
1 |
-
import pip
|
2 |
-
failed = pip.main(["install", nltk])
|
3 |
-
failed_2 = pip.main(["install", sklearn])
|
4 |
-
|
5 |
import streamlit as st
|
6 |
import pandas as pd
|
7 |
import numpy as np
|
@@ -18,6 +14,9 @@ from sklearn.feature_extraction.text import CountVectorizer
|
|
18 |
from sklearn import svm
|
19 |
# sentiment analysis
|
20 |
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
|
|
|
|
|
|
|
21 |
|
22 |
# creating page sections
|
23 |
site_header = st.container()
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
import numpy as np
|
|
|
14 |
from sklearn import svm
|
15 |
# sentiment analysis
|
16 |
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
|
17 |
+
import pip
|
18 |
+
failed = pip.main(["install", nltk])
|
19 |
+
failed_2 = pip.main(["install", sklearn])
|
20 |
|
21 |
# creating page sections
|
22 |
site_header = st.container()
|