pradelf commited on
Commit
fc85b79
·
verified ·
1 Parent(s): 9136785

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ async def predict(predictionFeatures: RentalFeatures):
118
  car_caracteristic = pd.DataFrame({"Car": pf})
119
 
120
  # Log model from mlflow
121
- logged_model = "models:/getaround-price-prediction-model-linear-regression/9" # REPLACE WITH YOUR OWN RUN ID
122
 
123
  # Load model as a PyFuncModel.
124
  loaded_model = mlflow.pyfunc.load_model(logged_model)
 
118
  car_caracteristic = pd.DataFrame({"Car": pf})
119
 
120
  # Log model from mlflow
121
+ logged_model = "models:/getaround-price-prediction-model/versions/2" # REPLACE WITH YOUR OWN RUN ID
122
 
123
  # Load model as a PyFuncModel.
124
  loaded_model = mlflow.pyfunc.load_model(logged_model)