Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import pickle
|
|
7 |
import pandas as pd # Ensure pandas is imported for DataFrame operations
|
8 |
|
9 |
# Load dataset
|
10 |
-
df = pd.
|
11 |
|
12 |
# Load the LabelEncoder and ColumnTransformer before prediction
|
13 |
with open('label_encoder.pkl', 'rb') as f:
|
|
|
7 |
import pandas as pd # Ensure pandas is imported for DataFrame operations
|
8 |
|
9 |
# Load dataset
|
10 |
+
df = pd.read_csv('processed_data.csv') # Replace with the correct path to your dataset
|
11 |
|
12 |
# Load the LabelEncoder and ColumnTransformer before prediction
|
13 |
with open('label_encoder.pkl', 'rb') as f:
|