trohith89 commited on
Commit
10f82f7
·
verified ·
1 Parent(s): cfecba1

Create home.py

Browse files
Files changed (1) hide show
  1. home.py +27 -0
home.py ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # Page configuration
4
+ st.set_page_config(page_title="Gradient Descent Tool", layout="centered")
5
+
6
+ # Title and description
7
+ st.title("🌟 Welcome to the Gradient Descent Tool!")
8
+ st.markdown("""
9
+ This interactive tool helps you understand and visualize the concept of gradient descent.
10
+
11
+ ### Features:
12
+ - Define your function
13
+ - Customize starting point and learning rate
14
+ - Visualize iterations step by step
15
+
16
+ Click the button below to get started!
17
+ """)
18
+
19
+ # Navigation button
20
+ if st.button("🚀 Launch Gradient Descent Tool"):
21
+ st.experimental_set_query_params(page="tool")
22
+ st.success("Navigating to the Gradient Descent Tool...")
23
+ st.stop()
24
+
25
+ # Footer
26
+ st.markdown("<hr>", unsafe_allow_html=True)
27
+ st.write("Made with ❤️ using Streamlit.")