leynessa commited on
Commit
34fd92b
·
verified ·
1 Parent(s): fac4bd2

Update streamlit_app.py

Browse files
Files changed (1) hide show
  1. streamlit_app.py +3 -3
streamlit_app.py CHANGED
@@ -146,9 +146,9 @@ with tab1:
146
  st.success(f"**Prediction: {predicted_class}**")
147
  st.info(f"Confidence: {confidence:.2%}")
148
 
149
- if predicted_class in butterfly_info:
150
- st.write("**Species Information:**")
151
- st.write(butterfly_info[predicted_class]["description"])
152
  else:
153
  st.warning("⚠️ **Image not clear - Unable to identify butterfly**")
154
  st.info(f"Confidence too low: {confidence:.1%}")
 
146
  st.success(f"**Prediction: {predicted_class}**")
147
  st.info(f"Confidence: {confidence:.2%}")
148
 
149
+ #if predicted_class in butterfly_info:
150
+ # st.write("**Species Information:**")
151
+ # st.write(butterfly_info[predicted_class]["description"])
152
  else:
153
  st.warning("⚠️ **Image not clear - Unable to identify butterfly**")
154
  st.info(f"Confidence too low: {confidence:.1%}")