sachin the king commited on
Commit
7809082
·
verified ·
1 Parent(s): 89b7e3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import pygad.gann
6
 
7
  # Load model and create Gradio interface
8
  def load_model():
9
- with open('smart_grid_model(1).pkl', 'rb') as f:
10
  model_data = pickle.load(f)
11
  return model_data['GANN_instance'], model_data['best_solution_idx'], model_data['scaler']
12
 
 
6
 
7
  # Load model and create Gradio interface
8
  def load_model():
9
+ with open('smart_grid_model (1).pkl', 'rb') as f:
10
  model_data = pickle.load(f)
11
  return model_data['GANN_instance'], model_data['best_solution_idx'], model_data['scaler']
12