aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2021-12-18 23:27:01 -0500
committerGitHub <[email protected]>2021-12-18 23:27:01 -0500
commit642fb2c547e2e0489f81392ada34c42a3b2cc385 (patch)
tree0311a9ae41b72af6074d6012bee6deadce5038a2
parentcd34308db536b0542e5bdf7f402156a30d6699f1 (diff)
downloadtemp_pred_arima-main.tar.xz
temp_pred_arima-main.zip
Update initial_setup.pyHEADmain
-rw-r--r--initial_setup.py15
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.')