michaelpiro1 commited on
Commit
542cdeb
·
verified ·
1 Parent(s): b912fd1

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # Add a selectbox to the sidebar:
4
+ add_selectbox = st.sidebar.selectbox(
5
+ 'How would you like to be contacted?',
6
+ ('Email', 'Home phone', 'Mobile phone')
7
+ )
8
+
9
+ # Add a slider to the sidebar:
10
+ add_slider = st.sidebar.slider(
11
+ 'Select a range of values',
12
+ 0.0, 100.0, (25.0, 75.0)
13
+ )