prakharg24 commited on
Commit
756112e
·
verified ·
1 Parent(s): 3fa41b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -6
app.py CHANGED
@@ -70,11 +70,12 @@ with left:
70
 
71
  for action in st.session_state.owner_selected:
72
  st.button(
73
- f"✓ {action}",
74
  key=f"owner_selected_{action}",
75
  on_click=toggle_owner,
76
  args=(action,),
77
- use_container_width=True
 
78
  )
79
 
80
  st.caption("Available")
@@ -87,7 +88,8 @@ with left:
87
  key=f"owner_available_{action}",
88
  on_click=toggle_owner,
89
  args=(action,),
90
- use_container_width=True
 
91
  )
92
 
93
  # --------------------------------------------------
@@ -106,11 +108,12 @@ with right:
106
 
107
  for action in st.session_state.auditor_selected:
108
  st.button(
109
- f"✓ {action}",
110
  key=f"auditor_selected_{action}",
111
  on_click=toggle_auditor,
112
  args=(action,),
113
- use_container_width=True
 
114
  )
115
 
116
  st.caption("Available")
@@ -123,7 +126,8 @@ with right:
123
  key=f"auditor_available_{action}",
124
  on_click=toggle_auditor,
125
  args=(action,),
126
- use_container_width=True
 
127
  )
128
 
129
  # --------------------------------------------------
 
70
 
71
  for action in st.session_state.owner_selected:
72
  st.button(
73
+ action,
74
  key=f"owner_selected_{action}",
75
  on_click=toggle_owner,
76
  args=(action,),
77
+ use_container_width=True,
78
+ type="primary"
79
  )
80
 
81
  st.caption("Available")
 
88
  key=f"owner_available_{action}",
89
  on_click=toggle_owner,
90
  args=(action,),
91
+ use_container_width=True,
92
+ type="tertiary"
93
  )
94
 
95
  # --------------------------------------------------
 
108
 
109
  for action in st.session_state.auditor_selected:
110
  st.button(
111
+ action,
112
  key=f"auditor_selected_{action}",
113
  on_click=toggle_auditor,
114
  args=(action,),
115
+ use_container_width=True,
116
+ type="primary"
117
  )
118
 
119
  st.caption("Available")
 
126
  key=f"auditor_available_{action}",
127
  on_click=toggle_auditor,
128
  args=(action,),
129
+ use_container_width=True,
130
+ type="tertiary"
131
  )
132
 
133
  # --------------------------------------------------