Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ if st.button('Submit'):
|
|
66 |
'Opmerkelijk' ,'Politiek', 'Regionaal nieuws', 'Tech']
|
67 |
probs_plot = probabilities[0].cpu().detach().numpy()
|
68 |
|
69 |
-
ax.barh(labels_plot,probs_plot )
|
70 |
st.pyplot(fig)
|
71 |
# output = genQuestion(option, input)
|
72 |
# print(output)
|
|
|
66 |
'Opmerkelijk' ,'Politiek', 'Regionaal nieuws', 'Tech']
|
67 |
probs_plot = probabilities[0].cpu().detach().numpy()
|
68 |
|
69 |
+
ax.barh(labels_plot,probs_plot,title="Probability of article category" )
|
70 |
st.pyplot(fig)
|
71 |
# output = genQuestion(option, input)
|
72 |
# print(output)
|