Spaces:
Sleeping
Sleeping
| 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() |