naufalnashif
commited on
Commit
•
4a3ec7a
1
Parent(s):
07d1f09
Update app.py
Browse files
app.py
CHANGED
@@ -8,11 +8,12 @@ import joblib
|
|
8 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
9 |
|
10 |
# Impor library tambahan
|
11 |
-
import matplotlib.pyplot as plt
|
12 |
-
import seaborn as sns
|
13 |
from wordcloud import WordCloud
|
14 |
-
|
15 |
-
from
|
|
|
16 |
|
17 |
|
18 |
# Fungsi untuk membersihkan teks dengan ekspresi reguler
|
|
|
8 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
9 |
|
10 |
# Impor library tambahan
|
11 |
+
#import matplotlib.pyplot as plt
|
12 |
+
#import seaborn as sns
|
13 |
from wordcloud import WordCloud
|
14 |
+
import nltk
|
15 |
+
from nltk.corpus import stopwords
|
16 |
+
#from transformers import pipeline
|
17 |
|
18 |
|
19 |
# Fungsi untuk membersihkan teks dengan ekspresi reguler
|