Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
|
4 |
# Custom CSS to style the markdown content
|
5 |
def local_css(file_name):
|
6 |
-
with open(file_name
|
7 |
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
8 |
|
9 |
# Function to read markdown files
|
@@ -15,8 +15,9 @@ def load_markdown_file(path):
|
|
15 |
# Initialize the app with a nicer layout
|
16 |
st.set_page_config(layout="wide")
|
17 |
|
18 |
-
#
|
19 |
-
|
|
|
20 |
|
21 |
# Streamlit UI
|
22 |
st.title('π Documentation')
|
|
|
3 |
|
4 |
# Custom CSS to style the markdown content
|
5 |
def local_css(file_name):
|
6 |
+
with open(file_name, "r") as f:
|
7 |
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
8 |
|
9 |
# Function to read markdown files
|
|
|
15 |
# Initialize the app with a nicer layout
|
16 |
st.set_page_config(layout="wide")
|
17 |
|
18 |
+
# Assuming you will create a style.css for custom styles
|
19 |
+
# Make sure to create a 'style.css' file in your project directory
|
20 |
+
local_css("style.css")
|
21 |
|
22 |
# Streamlit UI
|
23 |
st.title('π Documentation')
|