Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from sklearn.model_selection import train_test_split
|
|
4 |
from sklearn.linear_model import LinearRegression
|
5 |
|
6 |
# Load the dataset
|
7 |
-
@st.
|
8 |
def load_data():
|
9 |
url = "https://raw.githubusercontent.com/selva86/datasets/master/BostonHousing.csv"
|
10 |
data = pd.read_csv(url)
|
|
|
4 |
from sklearn.linear_model import LinearRegression
|
5 |
|
6 |
# Load the dataset
|
7 |
+
@st.cache_data
|
8 |
def load_data():
|
9 |
url = "https://raw.githubusercontent.com/selva86/datasets/master/BostonHousing.csv"
|
10 |
data = pd.read_csv(url)
|