Update src/streamlit_app.py
Browse files- src/streamlit_app.py +0 -20
src/streamlit_app.py
CHANGED
|
@@ -14,7 +14,6 @@ st.set_page_config(
|
|
| 14 |
page_title="Fake Instagram Profile Detector",
|
| 15 |
page_icon="π΅οΈββοΈ",
|
| 16 |
layout="centered",
|
| 17 |
-
initial_sidebar_state="expanded",
|
| 18 |
)
|
| 19 |
|
| 20 |
# ---------- Minimal styling ----------
|
|
@@ -127,25 +126,6 @@ def predict_with_model(X: np.ndarray) -> Dict[str, Any]:
|
|
| 127 |
result["proba_fake"] = None
|
| 128 |
return result
|
| 129 |
|
| 130 |
-
# ---------- Sidebar ----------
|
| 131 |
-
with st.sidebar:
|
| 132 |
-
st.header("βοΈ Settings")
|
| 133 |
-
st.caption("Configure how the app connects and behaves.")
|
| 134 |
-
token = get_apify_token()
|
| 135 |
-
if not token:
|
| 136 |
-
token = st.text_input("Apify API token (not saved)", type="password", placeholder="APIFY_...")
|
| 137 |
-
|
| 138 |
-
st.divider()
|
| 139 |
-
st.markdown("**About**")
|
| 140 |
-
st.write(
|
| 141 |
-
"This app checks basic Instagram profile signals "
|
| 142 |
-
"and runs a classifier to estimate whether an account looks fake or real."
|
| 143 |
-
)
|
| 144 |
-
st.markdown(
|
| 145 |
-
'<span class="small-muted">For demo/educational purposes only. '
|
| 146 |
-
'Always verify results with additional signals.</span>',
|
| 147 |
-
unsafe_allow_html=True
|
| 148 |
-
)
|
| 149 |
|
| 150 |
# ---------- Header ----------
|
| 151 |
st.title("π΅οΈββοΈ Fake Instagram Profile Detector")
|
|
|
|
| 14 |
page_title="Fake Instagram Profile Detector",
|
| 15 |
page_icon="π΅οΈββοΈ",
|
| 16 |
layout="centered",
|
|
|
|
| 17 |
)
|
| 18 |
|
| 19 |
# ---------- Minimal styling ----------
|
|
|
|
| 126 |
result["proba_fake"] = None
|
| 127 |
return result
|
| 128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
|
| 130 |
# ---------- Header ----------
|
| 131 |
st.title("π΅οΈββοΈ Fake Instagram Profile Detector")
|