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