MyEnny commited on
Commit
05ac191
·
verified ·
1 Parent(s): 06e6541

changed model to pickle

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def load_data():
61
  def main():
62
  # Load data and model
63
  data = load_data()
64
- model = load('rf_model.joblib')
65
 
66
  # Generate forecasts
67
  features = data.drop(columns=['power_consumption_kwh', 'timestamp'], errors='ignore')
 
61
  def main():
62
  # Load data and model
63
  data = load_data()
64
+ model = load('rf_model.pkl')
65
 
66
  # Generate forecasts
67
  features = data.drop(columns=['power_consumption_kwh', 'timestamp'], errors='ignore')