Spaces:
Sleeping
Sleeping
nan1
#1
by
Mia2024
- opened
app.py
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
x = st.slider('Select a
|
4 |
st.write(x, 'squared is', x * x)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
x = st.slider('Select a value123456abcde')
|
4 |
st.write(x, 'squared is', x * x)
|
5 |
+
|
6 |
+
# product
|
7 |
+
product=st.text_input("product")
|
8 |
+
# gender
|
9 |
+
gender=st.radio("gender", ["male", "female"])
|
10 |
+
# profession
|
11 |
+
profession=st.text_input("profession")
|
12 |
+
# hobby
|
13 |
+
hobby=st.text_input("hobby")
|
14 |
+
|