Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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)
|