CoolFace
Apppublic

pretty401/test_1

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
streamlit_app.py23 linesDownload Raw Back to src
1import streamlit as st2from pathlib import Path3 4# ────────────── Navigation ──────────────5st.sidebar.title("Navigation")6pages = {7    "Introduction": "pages/page_intro.py",8    "Problem Statement & Objective": "pages/page_problem.py",9    "Data Collection": "pages/page_data.py",10    "Exploratory Data Analysis (EDA)": "pages/page_eda.py",11    "Feature Engineering": "pages/page_features.py",12    "Model Building": "pages/page_model.py",13    "Fraud Detection UI": "pages/page_deploy.py"14}15 16page_name = st.sidebar.radio("Go to", list(pages.keys()))17page_path = pages[page_name]18 19# ────────────── Run selected page ──────────────20with open(page_path, "r", encoding="utf-8") as f:21    code = f.read()22exec(code)23