Spaces:
Sleeping
Sleeping
Update src/pages/dashboard.py
Browse files- src/pages/dashboard.py +2 -2
src/pages/dashboard.py
CHANGED
|
@@ -8,13 +8,13 @@ import plotly.graph_objects as go
|
|
| 8 |
st.title("Dashboard Analysis Customer Retail")
|
| 9 |
|
| 10 |
# Load CSS style
|
| 11 |
-
with open('
|
| 12 |
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 13 |
|
| 14 |
# Load dataset
|
| 15 |
@st.cache_data
|
| 16 |
def load_data():
|
| 17 |
-
data = pd.read_csv('
|
| 18 |
return data
|
| 19 |
data = load_data()
|
| 20 |
|
|
|
|
| 8 |
st.title("Dashboard Analysis Customer Retail")
|
| 9 |
|
| 10 |
# Load CSS style
|
| 11 |
+
with open('src/static/styles.css') as f:
|
| 12 |
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 13 |
|
| 14 |
# Load dataset
|
| 15 |
@st.cache_data
|
| 16 |
def load_data():
|
| 17 |
+
data = pd.read_csv('src/data/customer_shopping_data.csv')
|
| 18 |
return data
|
| 19 |
data = load_data()
|
| 20 |
|