Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Main TABMON Dashboard Application
"""

from pathlib import Path

import streamlit as st

from audio_dashboard import show_audio_dashboard
Expand All @@ -27,13 +29,16 @@ def main():
page_icon="🎙️",
)

# Navigation sidebar
# Add the logo
logo_path = Path("/app/src/images/tabmon_logo.png")
st.sidebar.image(logo_path, width=300)

st.sidebar.title("🎙️ TABMON Dashboard")
st.sidebar.markdown("---")

option = st.sidebar.selectbox(
"📊 Choose Dashboard",
["Map Visualization", "Audio Analysis", "Site Metadata"],
["Device status", "Dataset overview", "Site Metadata"],
index=0,
help="Select which dashboard view to display",
)
Expand All @@ -54,9 +59,9 @@ def main():
""")

# Route to appropriate dashboard
if option == "Map Visualization":
if option == "Device status":
map_app()
elif option == "Audio Analysis":
elif option == "Dataset overview":
show_audio_dashboard()
elif option == "Site Metadata":
show_site_dashboard()
Expand Down
Binary file added src/images/tabmon_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.