qc7 commited on
Commit
e3f8e6e
1 Parent(s): 73dcd7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,5 +46,5 @@ if button:
46
  prob_strings = [(str(prob) + '%') for prob in np.round(probs * 100, 3)]
47
  micro_df = pd.DataFrame({'Categories': CATEGORIES, 'Cat. Probability': prob_strings})
48
  micro_df = micro_df.sort_values(by='Cat. Probability', ascending=False)
49
- df.set_index('Internal ID')
50
  st.write(micro_df)
 
46
  prob_strings = [(str(prob) + '%') for prob in np.round(probs * 100, 3)]
47
  micro_df = pd.DataFrame({'Categories': CATEGORIES, 'Cat. Probability': prob_strings})
48
  micro_df = micro_df.sort_values(by='Cat. Probability', ascending=False)
49
+ micro_df.set_index('Internal ID')
50
  st.write(micro_df)