Prabhsimran09 commited on
Commit
4caa8dd
·
verified ·
1 Parent(s): 652331b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -15,5 +15,4 @@ if st.button("Submit"):
15
 
16
  # Clear button
17
  if st.button("Clear"):
18
- name = "" # reset the name
19
- st.experimental_rerun()
 
15
 
16
  # Clear button
17
  if st.button("Clear"):
18
+ st.rerun() # Updated from st.experimental_rerun() to st.rerun()