Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ if st.button('Submit'):
|
|
67 |
probs_plot = probabilities[0].cpu().detach().numpy()
|
68 |
|
69 |
ax.barh(labels_plot,probs_plot)
|
70 |
-
ax.set_title("
|
71 |
ax.set_xlabel("Probability")
|
72 |
ax.set_ylabel("Predicted category")
|
73 |
st.pyplot(fig)
|
|
|
67 |
probs_plot = probabilities[0].cpu().detach().numpy()
|
68 |
|
69 |
ax.barh(labels_plot,probs_plot)
|
70 |
+
ax.set_title("Predicted article category probability")
|
71 |
ax.set_xlabel("Probability")
|
72 |
ax.set_ylabel("Predicted category")
|
73 |
st.pyplot(fig)
|