Spaces:
Runtime error
Runtime error
Hemanth Sai Garladinne
commited on
Commit
·
055e10b
1
Parent(s):
fbb7c49
Update mainlayout.py
Browse files
frontend/layouts/mainlayout.py
CHANGED
|
@@ -6,7 +6,7 @@ from typing import Callable
|
|
| 6 |
from components import authors, user_greetings, login
|
| 7 |
|
| 8 |
def mainlayout(func: Callable):
|
| 9 |
-
with open("layouts/st_page_layouts.json", "r",encoding='utf-8') as f:
|
| 10 |
st_page_layouts = json.load(f)
|
| 11 |
st.set_page_config(**st_page_layouts[f"{func.__name__}" if func.__name__ in st_page_layouts.keys() else "home"])
|
| 12 |
st.markdown("## :rainbow[Welcome to Techdocs: Where Code Meets Clarity!]🚀")
|
|
|
|
| 6 |
from components import authors, user_greetings, login
|
| 7 |
|
| 8 |
def mainlayout(func: Callable):
|
| 9 |
+
with open("frontend/layouts/st_page_layouts.json", "r",encoding='utf-8') as f:
|
| 10 |
st_page_layouts = json.load(f)
|
| 11 |
st.set_page_config(**st_page_layouts[f"{func.__name__}" if func.__name__ in st_page_layouts.keys() else "home"])
|
| 12 |
st.markdown("## :rainbow[Welcome to Techdocs: Where Code Meets Clarity!]🚀")
|