import streamlit as st import base64 # Set Streamlit page config st.set_page_config(page_title="๐Ÿง  Neural Network Playground", layout="wide") # Function to blur only the background image (not the whole app) def set_background_blur(image_path): with open(image_path, "rb") as image_file: encoded = base64.b64encode(image_file.read()).decode() st.markdown( f"""
""", unsafe_allow_html=True ) # Call the background function with your image set_background_blur("ann.jpeg") # Make sure ann.jpeg is in the same directory # Typing animation title st.markdown("
โšก Neural Network Lab
", unsafe_allow_html=True) st.markdown("### ๐Ÿงช *Tinker. Train. Transform. โ€” Explore neural networks like never before!*") # Add a horizontal line st.markdown("
", unsafe_allow_html=True) # Collapsible section for details with st.expander("๐Ÿ“˜ Click to Learn More About This App"): st.markdown(""" ### ๐Ÿ”ง What You Can Do Here - ๐Ÿงฉ Choose from datasets like **Moons**, **Circles**, or **Custom Classification** - ๐Ÿ”ข Tweak model structure: layers, neurons, activations, learning rate - ๐Ÿ“‰ Train interactively and watch how it learns over time - ๐ŸŽจ Visualize decision boundaries and loss curves instantly ### ๐ŸŽฏ Why Use This? - ๐Ÿ‘€ See neural network behavior come to life - ๐Ÿง  Understand how changes impact learning - ๐ŸŽ“ Perfect for education, demos, and self-learning """) # Add another subtle separator st.markdown("
", unsafe_allow_html=True)