update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ stopword = stopword + context # add some frequent words in the documents
|
|
65 |
clean_text = df_clean['description'].apply(lambda x: clean_up1(x, stopword, pos))
|
66 |
docs = clean_text.apply(lambda x: " ".join(x)).tolist()
|
67 |
|
68 |
-
topic_model = BERTopic.load("bertopic")
|
69 |
|
70 |
with open('topics', 'rb') as f:
|
71 |
topics = pickle.load(f)
|
|
|
65 |
clean_text = df_clean['description'].apply(lambda x: clean_up1(x, stopword, pos))
|
66 |
docs = clean_text.apply(lambda x: " ".join(x)).tolist()
|
67 |
|
68 |
+
topic_model = BERTopic.load("bertopic.pkl")
|
69 |
|
70 |
with open('topics', 'rb') as f:
|
71 |
topics = pickle.load(f)
|