Spaces:
Sleeping
Sleeping
Jon Solow
commited on
Commit
·
33ea4bb
1
Parent(s):
b586854
Use path relative to file
Browse files- src/shared_page.py +2 -1
src/shared_page.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
from page_selector import remove_seasonal_pages
|
@@ -12,4 +13,4 @@ def local_css(file_name):
|
|
12 |
def common_page_config():
|
13 |
get_authorization_button()
|
14 |
remove_seasonal_pages()
|
15 |
-
local_css("style.css")
|
|
|
1 |
+
import os
|
2 |
import streamlit as st
|
3 |
|
4 |
from page_selector import remove_seasonal_pages
|
|
|
13 |
def common_page_config():
|
14 |
get_authorization_button()
|
15 |
remove_seasonal_pages()
|
16 |
+
local_css(os.path.join(os.path.dirname(__file__), "style.css"))
|