Update utils/target_classifier.py
Browse files
utils/target_classifier.py
CHANGED
@@ -107,7 +107,12 @@ def target_classification(haystack_doc:pd.DataFrame,
|
|
107 |
|
108 |
haystack_doc['Target Label'] = 'NA'
|
109 |
|
110 |
-
|
|
|
|
|
|
|
|
|
|
|
111 |
|
112 |
target_classifier_model = st.session_state['target_classifier']
|
113 |
|
|
|
107 |
|
108 |
haystack_doc['Target Label'] = 'NA'
|
109 |
|
110 |
+
## TEST DELETE ###
|
111 |
+
if classifier_model:
|
112 |
+
st.write("This is the classifier model")
|
113 |
+
st.write(classifier_model)
|
114 |
+
|
115 |
+
if not classifier_model:
|
116 |
|
117 |
target_classifier_model = st.session_state['target_classifier']
|
118 |
|