Spaces:
Runtime error
Runtime error
Hemanth Sai Garladinne
commited on
Update mainlayout.py
Browse files
frontend/layouts/mainlayout.py
CHANGED
@@ -6,7 +6,7 @@ from components import authors, user_greetings, add_logo
|
|
6 |
|
7 |
def mainlayout(func: Callable):
|
8 |
def wrapper():
|
9 |
-
with open("layouts/st_page_layouts.json", "r", encoding="utf-8") as f:
|
10 |
st_page_layouts = json.load(f)
|
11 |
|
12 |
st.set_page_config(
|
@@ -16,7 +16,7 @@ def mainlayout(func: Callable):
|
|
16 |
else "home"
|
17 |
]
|
18 |
)
|
19 |
-
add_logo("images/studybotlogo.svg", svg=True)
|
20 |
st.markdown("# Studybot 📚")
|
21 |
user_greetings()
|
22 |
authors()
|
|
|
6 |
|
7 |
def mainlayout(func: Callable):
|
8 |
def wrapper():
|
9 |
+
with open("frontend/layouts/st_page_layouts.json", "r", encoding="utf-8") as f:
|
10 |
st_page_layouts = json.load(f)
|
11 |
|
12 |
st.set_page_config(
|
|
|
16 |
else "home"
|
17 |
]
|
18 |
)
|
19 |
+
add_logo("frontend/images/studybotlogo.svg", svg=True)
|
20 |
st.markdown("# Studybot 📚")
|
21 |
user_greetings()
|
22 |
authors()
|