wnstnb commited on
Commit
12088f9
·
1 Parent(s): 1d4e1d7

make it work

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -436,10 +436,14 @@ if st.button('🤖 Run it'):
436
  score_fmt = f'{score:.1%}'
437
 
438
  results = pd.DataFrame(index=[
439
- 'ModelScore',
440
- 'HistoricalRate'
441
- f'Num {operator} {"" if do_not_play else score_fmt}',
442
- ], data = [f'{text_cond} {score:.1%}', f'{text_cond} {historical_proba:.1%}', num_obs])
 
 
 
 
443
 
444
  results.columns = ['Outputs']
445
 
 
436
  score_fmt = f'{score:.1%}'
437
 
438
  results = pd.DataFrame(index=[
439
+ 'ModelScore'
440
+ # 'HistoricalRate'
441
+ # f'Num {operator} {"" if do_not_play else score_fmt}',
442
+ ], data = [
443
+ f'{text_cond} {score:.1%}'
444
+ # f'{text_cond} {historical_proba:.1%}',
445
+ # num_obs
446
+ ])
447
 
448
  results.columns = ['Outputs']
449