saba000farahani commited on
Commit
fd1ef9f
·
verified ·
1 Parent(s): 7660812

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -4,10 +4,10 @@ import joblib
4
  from tensorflow.keras.models import load_model
5
 
6
  # Paths to your saved models and scaler
7
- scaler_path = 'https://huggingface.co/spaces/saba000farahani/Env_ContaminationLevel/blob/main/scaler_X.pkl'
8
- rf_model_path = 'https://huggingface.co/spaces/saba000farahani/Env_ContaminationLevel/blob/main/rf_model.pkl'
9
- mlp_model_path = 'https://huggingface.co/spaces/saba000farahani/Env_ContaminationLevel/blob/main/mlp_model.h5'
10
- meta_model_path = 'https://huggingface.co/spaces/saba000farahani/Env_ContaminationLevel/blob/main/meta_model.pkl'
11
  try:
12
  # Load the scaler and models
13
  scaler_X = joblib.load(scaler_path)
 
4
  from tensorflow.keras.models import load_model
5
 
6
  # Paths to your saved models and scaler
7
+ scaler_path = '/Env_ContaminationLevel/blob/main/scaler_X.pkl'
8
+ rf_model_path = '/Env_ContaminationLevel/blob/main/rf_model.pkl'
9
+ mlp_model_path = '/Env_ContaminationLevel/blob/main/mlp_model.h5'
10
+ meta_model_path = '/Env_ContaminationLevel/blob/main/meta_model.pkl'
11
  try:
12
  # Load the scaler and models
13
  scaler_X = joblib.load(scaler_path)