RuudVelo commited on
Commit
d107b45
1 Parent(s): 70318b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ if st.button('Submit'):
81
  ax.set_ylabel("Predicted category")
82
  st.pyplot(fig)
83
 
84
- st.write('Category: {} | Probability: {:.1f}%'.format(labels_plot[np.array(number)],(probs_plot[predictions])*1))
85
  # output = genQuestion(option, input)
86
  # print(output)
87
  # st.write(output)
 
81
  ax.set_ylabel("Predicted category")
82
  st.pyplot(fig)
83
 
84
+ st.write('Category: {} | Probability: {:.1f}%'.format(labels_plot[(number)],(probs_plot[predictions])*1))
85
  # output = genQuestion(option, input)
86
  # print(output)
87
  # st.write(output)