XDHDD commited on
Commit
d4046ed
·
1 Parent(s): 1176804

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,4 +1,4 @@
1
  import streamlit as st
2
- @st.cache_data
3
- x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
1
  import streamlit as st
2
+
3
+ age = st.slider('How old are you?', 0, 130, 25)
4
+ st.write("I'm ", age, 'years old')