Jasmine45 commited on
Commit
dc920e5
·
verified ·
1 Parent(s): 964ca73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def gradient(func, x):
18
  return (func(x + 1e-5) - func(x)) / 1e-5 # Numerical derivative approximation
19
 
20
  # Sidebar for user input
21
- st.sidebar.title("Gradient Descent Visualizer")
22
 
23
  # Function input
24
  function_str = st.sidebar.text_input("Enter the function (in terms of x):", "x^2 + 2*x + 1")
 
18
  return (func(x + 1e-5) - func(x)) / 1e-5 # Numerical derivative approximation
19
 
20
  # Sidebar for user input
21
+ st.sidebar.title("Optimizer Visualizer")
22
 
23
  # Function input
24
  function_str = st.sidebar.text_input("Enter the function (in terms of x):", "x^2 + 2*x + 1")