Spaces:
Sleeping
Sleeping
anushkamantri
commited on
Commit
•
fbb056f
1
Parent(s):
df8ff1d
Upload app.py
Browse files
app.py
CHANGED
@@ -36,6 +36,10 @@ def main():
|
|
36 |
filename = "Random_Forest_trained_model.pkl"
|
37 |
loaded_model = pickle.load(open(filename, 'rb'))
|
38 |
|
|
|
|
|
|
|
|
|
39 |
elif selected_model == "**CatBoost**":
|
40 |
filename = "CatBoostRegressor_trained_model.pkl"
|
41 |
loaded_model = pickle.load(open(filename, 'rb'))
|
|
|
36 |
filename = "Random_Forest_trained_model.pkl"
|
37 |
loaded_model = pickle.load(open(filename, 'rb'))
|
38 |
|
39 |
+
elif selected_model == "**Decision Tree**":
|
40 |
+
filename = "Decision_Tree_Regression_trained_model.pkl"
|
41 |
+
loaded_model = pickle.load(open(filename, 'rb'))
|
42 |
+
|
43 |
elif selected_model == "**CatBoost**":
|
44 |
filename = "CatBoostRegressor_trained_model.pkl"
|
45 |
loaded_model = pickle.load(open(filename, 'rb'))
|