Skip to content

Commit

Permalink
Added in Generics: This streamlines some tooling that is shared among…
Browse files Browse the repository at this point in the history
…st all pages in the UI, particularly the sidebar.
  • Loading branch information
Vaibhav-Hariani committed May 22, 2024
1 parent 1636236 commit f1f12ca
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion UI/ui_generics.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
import streamlit as st


def sidebar():
with st.sidebar:
st.page_link("Homepage.py", label=":derelict_house_building: Homepage", icon=None, help="Opens Homepage", disabled=False, use_container_width=True)
st.page_link("pages/Lane_Detection.py", label=":motorway: Lane Detection", icon=None, help="Opens Lane detection", disabled=False, use_container_width=True)
st.page_link("pages/Object_Detection.py", label=":octagonal_sign: Object Detection", icon=None, help="Opens Object detection", disabled=False, use_container_width=True)

0 comments on commit f1f12ca

Please sign in to comment.