Spaces:
No application file
No application file
claudia-07
commited on
Commit
•
82c3ebf
1
Parent(s):
302087f
changed model path
Browse files
pages/3_Topic_Classification.py
CHANGED
@@ -21,9 +21,9 @@ def get_topics(dataframe):
|
|
21 |
2: "Pet Related"
|
22 |
}
|
23 |
|
24 |
-
lda_path = "
|
25 |
-
id2word_path = "
|
26 |
-
final_svc_path = "
|
27 |
lda_model = load_lda_model(lda_path)
|
28 |
id2word = load_id2word(id2word_path)
|
29 |
final_svc = load_final_svc(final_svc_path)
|
|
|
21 |
2: "Pet Related"
|
22 |
}
|
23 |
|
24 |
+
lda_path = "model/lda_gensim/lda_tfidf_model_FINAL.pkl"
|
25 |
+
id2word_path = "model/lda_gensim/lda_tfidf_model_FINAL.pkl.id2word"
|
26 |
+
final_svc_path = "model/topic_classification/svm_topic_classification_deployment.pkl"
|
27 |
lda_model = load_lda_model(lda_path)
|
28 |
id2word = load_id2word(id2word_path)
|
29 |
final_svc = load_final_svc(final_svc_path)
|