diff options
| author | Priyansh <[email protected]> | 2021-12-18 23:27:01 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-18 23:27:01 -0500 |
| commit | 642fb2c547e2e0489f81392ada34c42a3b2cc385 (patch) | |
| tree | 0311a9ae41b72af6074d6012bee6deadce5038a2 /initial_setup.py | |
| parent | cd34308db536b0542e5bdf7f402156a30d6699f1 (diff) | |
| download | temp_pred_arima-main.tar.xz temp_pred_arima-main.zip | |
Diffstat (limited to 'initial_setup.py')
| -rw-r--r-- | initial_setup.py | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/initial_setup.py b/initial_setup.py index 5018a6d..b6422e6 100644 --- a/initial_setup.py +++ b/initial_setup.py @@ -23,23 +23,12 @@ def download(url, filename): sys.stdout.flush() sys.stdout.write('\n') -# if not exists('arima.pkl'): -# if not exists('arima.compressed'): -# print('[*] Downloading arima.compressed') -# download("https://github.com/luciferreeves/Analyzing-Climate-Change-using-Earth-Surface-Temperature-Visualization/releases/download/large_files/arima.compressed", 'arima.compressed') -# print('[*] Decompressing arima.compressed') -# decompress_arima() - -# if not exists('arima.pkl') and exists('arima.compressed'): -# print('[*] Decompressing arima.compressed') -# decompress_arima() - if not exists('database.db'): print('[*] Downloading database.db') - download("https://github.com/luciferreeves/Analyzing-Climate-Change-using-Earth-Surface-Temperature-Visualization/releases/download/large_files/database.db", 'database.db') + download("https://github.com/luciferreeves/temp_pred_arima/releases/download/large_files/database.db", 'database.db') if not exists('GlobalLandTemperaturesByCity.csv'): print('[*] Downloading GlobalLandTemperaturesByCity.csv') - download("https://github.com/luciferreeves/Analyzing-Climate-Change-using-Earth-Surface-Temperature-Visualization/releases/download/large_files/GlobalLandTemperaturesByCity.csv", 'GlobalLandTemperaturesByCity.csv') + download("https://github.com/luciferreeves/temp_pred_arima/releases/download/large_files/GlobalLandTemperaturesByCity.csv", 'GlobalLandTemperaturesByCity.csv') print('[*] Done! Please run `python3 app.py` to start the application.') |
