Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def prediction(df):
|
|
39 |
print(X_test.shape)
|
40 |
X_test_encoded = label_encoder(X_test)
|
41 |
X_test_df = preprocess_dataset(X_test_encoded)
|
42 |
-
x_model = loaded_model = tf.keras.models.load_model(
|
43 |
y_pred = x_model.predict(X_test_df)
|
44 |
predicition = []
|
45 |
for i in list(y_pred):
|
|
|
39 |
print(X_test.shape)
|
40 |
X_test_encoded = label_encoder(X_test)
|
41 |
X_test_df = preprocess_dataset(X_test_encoded)
|
42 |
+
x_model = loaded_model = tf.keras.models.load_model('my_model')
|
43 |
y_pred = x_model.predict(X_test_df)
|
44 |
predicition = []
|
45 |
for i in list(y_pred):
|