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