Spaces:
Build error
Build error
rishabh5752
commited on
Commit
·
6b7cb21
1
Parent(s):
7df53ef
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import pickle
|
|
4 |
|
5 |
# Load the pre-trained model
|
6 |
with open('model.pkl', 'rb') as file:
|
7 |
-
model = pickle.load(file)
|
8 |
|
9 |
# Default parameter values
|
10 |
default_values = [17.99, 10.38, 122.8, 1001, 0.1184, 0.2776, 0.3001, 0.1471, 0.2419, 0.07871,
|
|
|
4 |
|
5 |
# Load the pre-trained model
|
6 |
with open('model.pkl', 'rb') as file:
|
7 |
+
model = pickle.load(file, protocol=pickle.HIGHEST_PROTOCOL)
|
8 |
|
9 |
# Default parameter values
|
10 |
default_values = [17.99, 10.38, 122.8, 1001, 0.1184, 0.2776, 0.3001, 0.1471, 0.2419, 0.07871,
|