osbm commited on
Commit
72bac2a
·
1 Parent(s): 74e80c5
Files changed (1) hide show
  1. app.py +18 -2
app.py CHANGED
@@ -16,13 +16,29 @@ import pandas as pd
16
  import numpy as np
17
 
18
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
 
21
  with st.form("images"):
22
 
23
  st.write("Inside the form")
24
- slider_val = st.slider("Form slider")
25
- checkbox_val = st.checkbox("Form checkbox")
 
 
 
 
26
 
27
  # Every form must have a submit button.
28
  submitted = st.form_submit_button("Submit")
 
16
  import numpy as np
17
 
18
 
19
+ voters = [
20
+ "osman",
21
+ "eren",
22
+ "robin",
23
+ "mira",
24
+ "bilal",
25
+ "volunteer-1",
26
+ "volunteer-2",
27
+ "volunteer-3",
28
+ "volunteer-4",
29
+ "volunteer-5",
30
+ ]
31
 
32
 
33
  with st.form("images"):
34
 
35
  st.write("Inside the form")
36
+ slider_val = st.slider("How fat")
37
+
38
+ password = st.text_input("Password", type="password")
39
+
40
+ # select voter from the list
41
+ username = st.selectbox("Select voter", voters)
42
 
43
  # Every form must have a submit button.
44
  submitted = st.form_submit_button("Submit")