Spaces:
Sleeping
Sleeping
Commit
·
34047bf
1
Parent(s):
b49682b
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
st.button('Hit me')
|
| 4 |
+
st.data_editor('Edit data', data)
|
| 5 |
+
st.checkbox('Check me out')
|
| 6 |
+
st.radio('Pick one:', ['nose','ear'])
|
| 7 |
+
st.selectbox('Select', [1,2,3])
|
| 8 |
+
st.multiselect('Multiselect', [1,2,3])
|
| 9 |
+
st.slider('Slide me', min_value=0, max_value=10)
|
| 10 |
+
st.select_slider('Slide to select', options=[1,'2'])
|
| 11 |
+
st.text_input('Enter some text')
|
| 12 |
+
st.number_input('Enter a number')
|
| 13 |
+
st.text_area('Area for textual entry')
|
| 14 |
+
st.date_input('Date input')
|
| 15 |
+
st.time_input('Time entry')
|
| 16 |
+
st.file_uploader('File uploader')
|
| 17 |
+
st.download_button('On the dl', data)
|
| 18 |
+
st.camera_input("Hello Camera!")
|
| 19 |
+
st.color_picker('Pick a color')
|