Spaces:
Build error
Build error
rishabh5752
commited on
Commit
·
746f9e3
1
Parent(s):
6b7cb21
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, encoding='latin1')
|
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,
|