Spaces:
Runtime error
Runtime error
gopiashokan
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def prediction(image_path, class_names=['Potato___Early_blight', 'Potato___Late_
|
|
49 |
confidence = round(np.max(prediction)*100, 2)
|
50 |
|
51 |
add_vertical_space(1)
|
52 |
-
st.markdown(f'<h4 style="color: orange;">Predicted Class : {predicted_class}<br>
|
53 |
unsafe_allow_html=True)
|
54 |
|
55 |
add_vertical_space(1)
|
|
|
49 |
confidence = round(np.max(prediction)*100, 2)
|
50 |
|
51 |
add_vertical_space(1)
|
52 |
+
st.markdown(f'<h4 style="color: orange;">Predicted Class : {predicted_class}<br>Confidence : {confidence}%</h3>',
|
53 |
unsafe_allow_html=True)
|
54 |
|
55 |
add_vertical_space(1)
|