Update appStore/subtarget.py
Browse files- appStore/subtarget.py +3 -2
appStore/subtarget.py
CHANGED
@@ -32,6 +32,7 @@ def app():
|
|
32 |
classifier = load_subtargetClassifier(classifier_name=params['model_name'])
|
33 |
st.session_state['{}_classifier'.format(classifier_identifier)] = classifier
|
34 |
|
35 |
-
subtarget_classification(haystack_doc=df,
|
36 |
threshold= params['threshold'])
|
37 |
-
|
|
|
|
32 |
classifier = load_subtargetClassifier(classifier_name=params['model_name'])
|
33 |
st.session_state['{}_classifier'.format(classifier_identifier)] = classifier
|
34 |
|
35 |
+
df = subtarget_classification(haystack_doc=df,
|
36 |
threshold= params['threshold'])
|
37 |
+
st.dataframe(df)
|
38 |
+
st.session_state.key1 = df
|