ML not working

When i deploy my project it only predict’s one outcome , but when i test it in google colab it can predict both with around 96% accuracy, when i output the y_pred array it still contains both predictions but it doesnt seem to work on streamlit any suggestions?

That looks like a bug in your code. Suggestion: if you cannot find the bug, show your code to someone else. More eyeballs can spot more bugs.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.