Threadbourne commited on
Commit
af00309
·
verified ·
1 Parent(s): a5cf525

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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
- with open("custom.css") as f:
 
 
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")