Gokulnath2003 commited on
Commit
dac55dd
1 Parent(s): f4a78a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from sklearn.compose import ColumnTransformer
7
  from sklearn.pipeline import Pipeline
8
 
9
  # Load the trained model (assuming it's saved as a .pkl file)
10
- model = joblib.load('trained_model.pkl')
11
 
12
  # Example: sample transformers for preprocessing
13
  num_features = ['year', 'km_driven'] # Example numerical features
 
7
  from sklearn.pipeline import Pipeline
8
 
9
  # Load the trained model (assuming it's saved as a .pkl file)
10
+ model = joblib.load('RandomForestRegressor_model.pkl')
11
 
12
  # Example: sample transformers for preprocessing
13
  num_features = ['year', 'km_driven'] # Example numerical features