diff --git a/Annual_forecaster.py b/Annual_forecaster.py index 21ef93d..219c1a1 100644 --- a/Annual_forecaster.py +++ b/Annual_forecaster.py @@ -14,7 +14,7 @@ st.write("Select countries and years to forecast future temperatures.") # Load the pre-trained model -model = joblib.load('climate_country_forecaster.pkl') +model = joblib.load('climate_country_forecaster.pkl', mmap_mode='r') historical_data = pd.read_csv('Country-Level-Temperature.csv') # Function to create sequences