Spaces:
Sleeping
Sleeping
judebebo32
commited on
Commit
•
56d82c2
1
Parent(s):
7fefa1b
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import pickle
|
|
4 |
|
5 |
# Load the pre-trained model
|
6 |
with open('best_model.pkl', 'rb') as model_file:
|
7 |
-
model = pickle.load(
|
8 |
|
9 |
# Load the label encoder
|
10 |
with open('label_encoder.pkl', 'rb') as label_encoder_file:
|
|
|
4 |
|
5 |
# Load the pre-trained model
|
6 |
with open('best_model.pkl', 'rb') as model_file:
|
7 |
+
model = pickle.load(model_file)
|
8 |
|
9 |
# Load the label encoder
|
10 |
with open('label_encoder.pkl', 'rb') as label_encoder_file:
|