surbi karki commited on
Commit
a03cb21
·
verified ·
1 Parent(s): dc80d2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import numpy as np
7
  # Load the trained model and scaler
8
  try:
9
  model = joblib.load('LR1.pkl') # Replace with the path to your saved model
10
- scaler = joblib.load('scaler.pkl') # Ensure the scaler is saved during training and available here
11
  except Exception as e:
12
  raise RuntimeError(f"Failed to load model or scaler: {e}")
13
 
 
7
  # Load the trained model and scaler
8
  try:
9
  model = joblib.load('LR1.pkl') # Replace with the path to your saved model
10
+ scaler = joblib.load('scaler1.pkl') # Ensure the scaler is saved during training and available here
11
  except Exception as e:
12
  raise RuntimeError(f"Failed to load model or scaler: {e}")
13