import streamlit as st
import base64
# Set page config
st.set_page_config(page_title="Neural Network Playground", layout="centered")
# Load and encode background image
def get_base64(file_path):
with open(file_path, "rb") as f:
data = f.read()
return base64.b64encode(data).decode()
img_base64 = get_base64("neuron.webp") # Make sure this image is in the same folder
# Inject CSS with base64 background
st.markdown(
f"""
""",
unsafe_allow_html=True
)
# Title
st.markdown(
"""
Neural Network Playground
""",
unsafe_allow_html=True
)
# Subtitle
st.markdown(
"""
Dive into the world of neural networks—explore and train with ease!
""",
unsafe_allow_html=True
)
# About section
st.subheader("🔎 :blue[About the App:]")
st.markdown("""
Neural Network Playground is an interactive tool designed for hands-on exploration of machine learning models.
Whether you're just starting or already exploring advanced concepts, this platform lets you:
- 🧑💻 Build and visualize neural networks with ease and fun.
- 🔬 Train models on interactive datasets with real-time updates.
- 🛠️ Experiment with various architectures and see instant results.
- 🧠 Adjust hyperparameters and observe their effects on model learning—live!
No coding required. Just pure, interactive learning.
""")