HemanthSai7 commited on
Commit
03c48e7
1 Parent(s): 5ce2353

Streamlit app

Browse files
frontend/layouts/mainlayout.py CHANGED
@@ -6,7 +6,7 @@ from components import authors, user_greetings
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(**st_page_layouts[f"{func.__name__}" if func.__name__ in st_page_layouts.keys() else "home"])
 
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(**st_page_layouts[f"{func.__name__}" if func.__name__ in st_page_layouts.keys() else "home"])
frontend/🏡_Home.py CHANGED
@@ -59,7 +59,7 @@ def home():
59
  st.divider()
60
  # architecture heading in the middle
61
  st.markdown("<h2 style='text-align: center; color: black;'>Studybot Architecture</h1>", unsafe_allow_html=True)
62
- st.image("images/architecture.png")
63
 
64
 
65
  home()
 
59
  st.divider()
60
  # architecture heading in the middle
61
  st.markdown("<h2 style='text-align: center; color: black;'>Studybot Architecture</h1>", unsafe_allow_html=True)
62
+ st.image("frontend/images/architecture.png")
63
 
64
 
65
  home()