prakharg24 commited on
Commit
2fd4b4b
·
verified ·
1 Parent(s): 5f7cfba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -142,7 +142,7 @@ for action in st.session_state.auditor_selected:
142
  auditor_active_list.append(auditor_actions[action])
143
  owner_active_list = []
144
  for action in st.session_state.owner_selected:
145
- owner_active_list.append(owner_actions[action])
146
 
147
 
148
 
@@ -186,18 +186,18 @@ st.divider()
186
 
187
  margin1, c1, c2, c3, c4, margin2 = st.columns([1,2.25,2.25,2.25,2.25,1])
188
 
189
- c1.metric(
190
- "Auditing Cost", auditor_cost
191
- )
192
 
193
- c2.metric(
194
- "Cost to Cheat for Model Owner", owner_cost
195
- )
196
 
197
- c3.metric(
198
- "Audit Reliability", reliability
199
- )
200
 
201
- c4.metric(
202
- "Openness Requirements", openness
203
- )
 
142
  auditor_active_list.append(auditor_actions[action])
143
  owner_active_list = []
144
  for action in st.session_state.owner_selected:
145
+ owner_active_list.append(model_owner_actions[action])
146
 
147
 
148
 
 
186
 
187
  margin1, c1, c2, c3, c4, margin2 = st.columns([1,2.25,2.25,2.25,2.25,1])
188
 
189
+ with c1:
190
+ st.write("**Auditing Cost**")
191
+ st.write(auditor_cost)
192
 
193
+ with c2:
194
+ st.write("**Cost to Cheat for Model Owner**")
195
+ st.write(owner_cost)
196
 
197
+ with c3:
198
+ st.write("**Audit Reliability**")
199
+ st.write(reliability)
200
 
201
+ with c4:
202
+ st.write("**Openness Requirements**")
203
+ st.write(openness)