Spaces:
Runtime error
Runtime error
Update pages/Teachable_Machine_Model.py
Browse files72 unmodified lines73747576777872 unmodified linesconfidence_score = prediction[0][index]# Print prediction and confidence scorest.success("Your plant is suffering from: ", class_name)st.info("✅ Accuracy confidence score is: ", confidence_score, "/100")#print("The image is classified as ", class_name, "with a similarity score of", confidence_score)72 unmodified lines737475767778798072 unmodified linesconfidence_score = prediction[0][index]# Print prediction and confidence scoreresult = f"Your plant is suffering from: {class_name}"result_score = f"✅ Accuracy confidence score is: {confidence_score}/100"st.success(result)st.info(result_score)#print("The image is classified as ", class_name, "with a similarity score of", confidence_score)
pages/Teachable_Machine_Model.py+4-2