RuudVelo commited on
Commit
23bc4d7
1 Parent(s): ed6dd13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -67,8 +67,9 @@ if st.button('Submit'):
67
  probs_plot = probabilities[0].cpu().detach().numpy()
68
 
69
  ax.barh(labels_plot,probs_plot)
70
- ax.set_xlabel("Predicted category")
71
- ax.set_ylabel("Probability")
 
72
  st.pyplot(fig)
73
  # output = genQuestion(option, input)
74
  # print(output)
 
67
  probs_plot = probabilities[0].cpu().detach().numpy()
68
 
69
  ax.barh(labels_plot,probs_plot)
70
+ ax.set_title("Probability")
71
+ ax.set_xlabel("Probability")
72
+ ax.set_ylabel("Predicted category")
73
  st.pyplot(fig)
74
  # output = genQuestion(option, input)
75
  # print(output)