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

Update streamlit_app.py

Browse files
Files changed (1) hide show
  1. streamlit_app.py +3 -3
streamlit_app.py CHANGED
@@ -189,9 +189,9 @@ with tab2:
189
  st.success(f"**Prediction: {predicted_class}**")
190
  st.info(f"Confidence: {confidence:.2%}")
191
 
192
- if predicted_class in butterfly_info:
193
- st.write("**Species Information:**")
194
- st.write(butterfly_info[predicted_class]["description"])
195
  else:
196
  st.warning("⚠️ **Image not clear - Unable to identify butterfly**")
197
  st.info(f"Confidence too low: {confidence:.1%}")
 
189
  st.success(f"**Prediction: {predicted_class}**")
190
  st.info(f"Confidence: {confidence:.2%}")
191
 
192
+ #if predicted_class in butterfly_info:
193
+ # st.write("**Species Information:**")
194
+ # st.write(butterfly_info[predicted_class]["description"])
195
  else:
196
  st.warning("⚠️ **Image not clear - Unable to identify butterfly**")
197
  st.info(f"Confidence too low: {confidence:.1%}")