Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -23,6 +23,9 @@ with st.form("my_output"):
23
  st.write("gender", gender)
24
  st.write("profession", profession)
25
  st.write("hobby", hobby)
 
 
 
26
 
27
  _LOREM_IPSUM = """
28
  Lorem ipsum dolor sit amet, **consectetur adipiscing** elit, sed do eiusmod tempor
 
23
  st.write("gender", gender)
24
  st.write("profession", profession)
25
  st.write("hobby", hobby)
26
+ # Clear the user inputs
27
+ if clear:
28
+ st.experimental_rerun()
29
 
30
  _LOREM_IPSUM = """
31
  Lorem ipsum dolor sit amet, **consectetur adipiscing** elit, sed do eiusmod tempor