Lenylvt commited on
Commit
e4ad43c
β€’
1 Parent(s): 7079efc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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) "r") as f:
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
- # Apply some custom styles for better appearance
19
- local_css("style.css") # Assume you have a style.css file for custom styles
 
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')