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