Update appStore/target.py
Browse files- appStore/target.py +7 -1
appStore/target.py
CHANGED
@@ -33,9 +33,15 @@ def app():
|
|
33 |
if 'key0' in st.session_state:
|
34 |
df = st.session_state.key0
|
35 |
|
36 |
-
#load
|
37 |
classifier = load_tappClassifier(classifier_name=params['model_name'])
|
38 |
st.session_state['{}_classifier'.format(classifier_identifier)] = classifier
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
if len(df) > 100:
|
40 |
warning_msg = ": This might take sometime, please sit back and relax."
|
41 |
else:
|
|
|
33 |
if 'key0' in st.session_state:
|
34 |
df = st.session_state.key0
|
35 |
|
36 |
+
#load Classifiers
|
37 |
classifier = load_tappClassifier(classifier_name=params['model_name'])
|
38 |
st.session_state['{}_classifier'.format(classifier_identifier)] = classifier
|
39 |
+
|
40 |
+
classifier_identifier = 'target'
|
41 |
+
params = get_classifier_params(classifier_identifier)
|
42 |
+
classifier = load_targetClassifier(classifier_name=params['model_name'])
|
43 |
+
st.session_state['{}_classifier'.format(classifier_identifier)] = classifier
|
44 |
+
|
45 |
if len(df) > 100:
|
46 |
warning_msg = ": This might take sometime, please sit back and relax."
|
47 |
else:
|