Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,6 @@ from joblib import load
|
|
4 |
from tensorflow.keras.models import load_model
|
5 |
import tensorflow as tf
|
6 |
import pickle
|
7 |
-
import pandas as pd # Ensure pandas is imported for Excel file handling
|
8 |
-
|
9 |
-
# Load the DataFrame from the Excel file
|
10 |
-
df = pd.read_excel('dataset.xls') # 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:
|
|
|
4 |
from tensorflow.keras.models import load_model
|
5 |
import tensorflow as tf
|
6 |
import pickle
|
|
|
|
|
|
|
|
|
7 |
|
8 |
# Load the LabelEncoder and ColumnTransformer before prediction
|
9 |
with open('label_encoder.pkl', 'rb') as f:
|