update model_response
Browse files- model_Responce.py +2 -1
model_Responce.py
CHANGED
@@ -7,13 +7,14 @@ from keras.preprocessing.text import Tokenizer
|
|
7 |
|
8 |
# Load the model from the pickle file
|
9 |
# filename = 'F:/CVFilter/models/model_pk.pkl'
|
|
|
10 |
# with open(filename, 'rb') as file:
|
11 |
# model = pickle.load(file)
|
12 |
|
13 |
# Load the saved model
|
14 |
# model = joblib.load('F:\CVFilter\models\model.joblib')
|
15 |
|
16 |
-
model = tf.keras.models.load_model('models
|
17 |
|
18 |
tokenfile = 'tokenized_words/tokenized_words.pkl'
|
19 |
# Load the tokenized words from the pickle file
|
|
|
7 |
|
8 |
# Load the model from the pickle file
|
9 |
# filename = 'F:/CVFilter/models/model_pk.pkl'
|
10 |
+
|
11 |
# with open(filename, 'rb') as file:
|
12 |
# model = pickle.load(file)
|
13 |
|
14 |
# Load the saved model
|
15 |
# model = joblib.load('F:\CVFilter\models\model.joblib')
|
16 |
|
17 |
+
model = tf.keras.models.load_model('models/model.h5')
|
18 |
|
19 |
tokenfile = 'tokenized_words/tokenized_words.pkl'
|
20 |
# Load the tokenized words from the pickle file
|