Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ import altair as alt
|
|
| 7 |
import plotly.express as px
|
| 8 |
|
| 9 |
# Cache the data loading function using st.cache_data
|
| 10 |
-
@st.
|
| 11 |
def load_data():
|
| 12 |
data = pd.read_csv('data_cleaned.csv')
|
| 13 |
return data
|
|
|
|
| 7 |
import plotly.express as px
|
| 8 |
|
| 9 |
# Cache the data loading function using st.cache_data
|
| 10 |
+
@st.cache_data
|
| 11 |
def load_data():
|
| 12 |
data = pd.read_csv('data_cleaned.csv')
|
| 13 |
return data
|