Spaces:
Sleeping
Sleeping
naufalbudianto28
commited on
Commit
•
2d345a6
1
Parent(s):
00f054a
Update deployment.py
Browse files- deployment.py +3 -3
deployment.py
CHANGED
@@ -3,13 +3,13 @@ import pandas as pd
|
|
3 |
import pickle
|
4 |
|
5 |
|
6 |
-
with open ('
|
7 |
model_lr = pickle.load(file_1)
|
8 |
|
9 |
-
with open ('
|
10 |
model_svm = pickle.load(file_2)
|
11 |
|
12 |
-
with open ('
|
13 |
model_knn = pickle.load(file_3)
|
14 |
|
15 |
|
|
|
3 |
import pickle
|
4 |
|
5 |
|
6 |
+
with open ('best_model_lr.pkl', 'rb') as file_1:
|
7 |
model_lr = pickle.load(file_1)
|
8 |
|
9 |
+
with open ('best_model_svm.pkl', 'rb') as file_2:
|
10 |
model_svm = pickle.load(file_2)
|
11 |
|
12 |
+
with open ('best_model_knn.pkl', 'rb') as file_3:
|
13 |
model_knn = pickle.load(file_3)
|
14 |
|
15 |
|