gutai123 commited on
Commit
1c7af54
·
verified ·
1 Parent(s): bac31f6

Update Create_ml_models.py

Browse files
Files changed (1) hide show
  1. Create_ml_models.py +14 -0
Create_ml_models.py CHANGED
@@ -6,6 +6,20 @@ from sklearn.preprocessing import StandardScaler
6
  import joblib
7
  from admin_utils import *
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  st.title("Let's build our Model...")
10
 
11
  # Create tabs
 
6
  import joblib
7
  from admin_utils import *
8
 
9
+ if 'cleaned_data' not in st.session_state:
10
+ st.session_state['cleaned_data'] =''
11
+ if 'sentences_train' not in st.session_state:
12
+ st.session_state['sentences_train'] =''
13
+ if 'sentences_test' not in st.session_state:
14
+ st.session_state['sentences_test'] =''
15
+ if 'labels_train' not in st.session_state:
16
+ st.session_state['labels_train'] =''
17
+ if 'labels_test' not in st.session_state:
18
+ st.session_state['labels_test'] =''
19
+ if 'svm_classifier' not in st.session_state:
20
+ st.session_state['svm_classifier'] =''
21
+
22
+
23
  st.title("Let's build our Model...")
24
 
25
  # Create tabs