Rupesh386 commited on
Commit
2d49eed
·
verified ·
1 Parent(s): d58b772

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +2 -2
test.py CHANGED
@@ -26,7 +26,7 @@ class test :
26
  df = None
27
  options = ["Google Pixel 5", "OnePlus 9", "Samsung Galaxy S21", "Xiaomi Mi 11",'iPhone 12']
28
 
29
- selected_option = st.sidebar.selectbox("<b>Select phone model :</b>", options)
30
 
31
  if selected_option in options:
32
  encoded_model = [1 if i == selected_option else 0 for i in options]
@@ -40,7 +40,7 @@ class test :
40
 
41
 
42
  if selected_option =='iPhone 12':
43
- selected_option1 = st.sidebar.selectbox("<b>Select OS :</b>", 'IOS')
44
  encoded_os = [0,1]
45
  else :
46
  encoded_os = [1,0]
 
26
  df = None
27
  options = ["Google Pixel 5", "OnePlus 9", "Samsung Galaxy S21", "Xiaomi Mi 11",'iPhone 12']
28
 
29
+ selected_option = st.sidebar.selectbox("Select phone model :", options)
30
 
31
  if selected_option in options:
32
  encoded_model = [1 if i == selected_option else 0 for i in options]
 
40
 
41
 
42
  if selected_option =='iPhone 12':
43
+ selected_option1 = st.sidebar.selectbox("Select OS :", 'IOS')
44
  encoded_os = [0,1]
45
  else :
46
  encoded_os = [1,0]