trohith89 commited on
Commit
63cddf1
·
verified ·
1 Parent(s): 8956cd1

Update home.py

Browse files
Files changed (1) hide show
  1. home.py +1 -1
home.py CHANGED
@@ -18,7 +18,7 @@ Click the button below to get started!
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
 
 
18
 
19
  # Navigation button
20
  if st.button("🚀 Launch Gradient Descent Tool"):
21
+ st.query_params.update({"page": "tool"})
22
  st.success("Navigating to the Gradient Descent Tool...")
23
  st.stop()
24