HemanthSai7 commited on
Commit
8787095
Β·
1 Parent(s): 931abd0

Updated home page of the Streamlit app

frontend/layouts/mainlayout.py CHANGED
@@ -9,7 +9,7 @@ from components import authors, user_greetings, add_logo
9
 
10
  def mainlayout(func: Callable):
11
  def wrapper():
12
- with open("layouts/st_page_layouts.json", "r", encoding="utf-8") as f:
13
  st_page_layouts = json.load(f)
14
 
15
  st.set_page_config(
@@ -19,7 +19,7 @@ def mainlayout(func: Callable):
19
  else "home"
20
  ]
21
  )
22
- add_logo("images/studybotlogo.svg", svg=True)
23
  st.markdown("# Studybot πŸ“š")
24
  user_greetings()
25
  authors()
 
9
 
10
  def mainlayout(func: Callable):
11
  def wrapper():
12
+ with open("frontend/layouts/st_page_layouts.json", "r", encoding="utf-8") as f:
13
  st_page_layouts = json.load(f)
14
 
15
  st.set_page_config(
 
19
  else "home"
20
  ]
21
  )
22
+ add_logo("frontend/images/studybotlogo.svg", svg=True)
23
  st.markdown("# Studybot πŸ“š")
24
  user_greetings()
25
  authors()
frontend/🏑_Home.py CHANGED
@@ -63,7 +63,7 @@ def home():
63
  "<h2 style='text-align: center; color: black;'>Studybot Architecture</h1>",
64
  unsafe_allow_html=True,
65
  )
66
- st.image("images/architecture.png")
67
 
68
 
69
  home()
 
63
  "<h2 style='text-align: center; color: black;'>Studybot Architecture</h1>",
64
  unsafe_allow_html=True,
65
  )
66
+ st.image("frontend/images/architecture.png")
67
 
68
 
69
  home()