GhylB commited on
Commit
6f81365
·
1 Parent(s): 6c72ddb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -17,7 +17,7 @@ app = FastAPI(title="API")
17
 
18
  """We load a machine learning model and a scaler that help us make predictions based on data."""
19
  model = joblib.load('gbc.pkl',mmap_mode='r')
20
- scaler = joblib.load('scaler.pkl')
21
 
22
  """We define a function that will make predictions using our model and scaler."""
23
  def predict(df, endpoint='simple'):
 
17
 
18
  """We load a machine learning model and a scaler that help us make predictions based on data."""
19
  model = joblib.load('gbc.pkl',mmap_mode='r')
20
+ scaler = joblib.load('scaler.pkl',mmap_mode='r')
21
 
22
  """We define a function that will make predictions using our model and scaler."""
23
  def predict(df, endpoint='simple'):