Skip to content

Commit

Permalink
Update mainlayout.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HemanthSai7 authored Oct 2, 2023
1 parent bd3ff20 commit c5c24f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/layouts/mainlayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from components import authors, user_greetings, login

def mainlayout(func: Callable):
with open("layouts/st_page_layouts.json", "r",encoding='utf-8') as f:
with open("frontend/layouts/st_page_layouts.json", "r",encoding='utf-8') as f:
st_page_layouts = json.load(f)
st.set_page_config(**st_page_layouts[f"{func.__name__}" if func.__name__ in st_page_layouts.keys() else "home"])
st.markdown("## :rainbow[Welcome to Techdocs: Where Code Meets Clarity!]🚀")
Expand Down

0 comments on commit c5c24f8

Please sign in to comment.