From 8b6aad77a745ebb0c9a6f7e39ac518dd01e578d0 Mon Sep 17 00:00:00 2001 From: Rahul Gupta <115047275+Sciotaku@users.noreply.github.com> Date: Thu, 12 Oct 2023 11:46:43 -0400 Subject: [PATCH] Update app.py --- Module_Applications/Heroku_App_updated/app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Module_Applications/Heroku_App_updated/app.py b/Module_Applications/Heroku_App_updated/app.py index 64bb1a7..8c0f23f 100644 --- a/Module_Applications/Heroku_App_updated/app.py +++ b/Module_Applications/Heroku_App_updated/app.py @@ -21,7 +21,10 @@ from sklearn.linear_model import LinearRegression from sklearn.metrics import mean_squared_error, r2_score + # https://stackoverflow.com/questions/71106940/cannot-import-name-centered-from-scipy-signal-signaltools +import scipy.signal.signaltools + def _centered(arr, newsize): # Return the center newsize portion of the array. newsize = np.asarray(newsize)