Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import pickle
|
|
4 |
import pandas as pd
|
5 |
|
6 |
# Load the saved model using pickle
|
7 |
-
with open(r'
|
8 |
model = pickle.load(file)
|
9 |
|
10 |
# Define a function to make predictions
|
|
|
4 |
import pandas as pd
|
5 |
|
6 |
# Load the saved model using pickle
|
7 |
+
with open(r'model.pkl', 'rb') as file:
|
8 |
model = pickle.load(file)
|
9 |
|
10 |
# Define a function to make predictions
|