Spaces:
Runtime error
Runtime error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -1
src/streamlit_app.py
CHANGED
|
@@ -2,7 +2,9 @@ import streamlit as st
|
|
| 2 |
import pandas as pd
|
| 3 |
import plotly.express as px
|
| 4 |
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 7 |
|
| 8 |
st.set_page_config(layout="wide")
|
|
|
|
| 2 |
import pandas as pd
|
| 3 |
import plotly.express as px
|
| 4 |
|
| 5 |
+
from pathlib import Path
|
| 6 |
+
|
| 7 |
+
with open(Path(__file__).parent / "custom.css") as f:
|
| 8 |
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 9 |
|
| 10 |
st.set_page_config(layout="wide")
|