Security_Tools / app.py
YashMK89's picture
create app.py
aba2d10 verified
raw
history blame contribute delete
571 Bytes
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()