Spencer525 commited on
Commit
c5a551c
·
verified ·
1 Parent(s): 51c1466

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import matplotlib.pyplot as plt
8
  import seaborn as sns
9
 
10
  # Load the saved model from Hugging Face Space
11
- @st.cache_resource(allow_output_mutation=True)
12
  def load_model():
13
  model_path = 'best_stacking_model.pkl' # Assuming you uploaded the model to the space root directory
14
  model = joblib.load(model_path)
 
8
  import seaborn as sns
9
 
10
  # Load the saved model from Hugging Face Space
11
+ @st.cache(allow_output_mutation=True)
12
  def load_model():
13
  model_path = 'best_stacking_model.pkl' # Assuming you uploaded the model to the space root directory
14
  model = joblib.load(model_path)