Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import pandas as pd
|
|
3 |
import joblib
|
4 |
|
5 |
# Load the trained model
|
6 |
-
model = joblib.load('
|
7 |
|
8 |
# Define the prediction function
|
9 |
def predict_price(host_id, neighbourhood_group, latitude, longitude, number_of_reviews, calculated_host_listings_count):
|
|
|
3 |
import joblib
|
4 |
|
5 |
# Load the trained model
|
6 |
+
model = joblib.load('random_forest_model.pkl') # replace with your model path
|
7 |
|
8 |
# Define the prediction function
|
9 |
def predict_price(host_id, neighbourhood_group, latitude, longitude, number_of_reviews, calculated_host_listings_count):
|