Spaces:
Running
Running
import streamlit as st | |
st.set_page_config(page_title="π‘οΈ Security Tools", layout="wide") | |
st.title("π‘οΈ Security Tools Dashboard") | |
st.markdown("Select an application from the sidebar.") | |
st.sidebar.title("π Applications") | |
st.sidebar.markdown("Choose a tool:") | |
# Add your apps here | |
apps = { | |
"Malicious URL Detector": "malicious_url", | |
} | |
# Sidebar selection | |
selected_app = st.sidebar.selectbox("", options=list(apps.keys())) | |
# Dynamically import the selected app | |
page_module = __import__(f"pages.{apps[selected_app]}", fromlist=["app"]) | |
page_module.app() |