I'm developing a Python Flask application to find combinations of numbers from dataset that sum up to a target value. The app works fine with smaller datasets but freezes when processing larger datasets. Here GitHub repository of my code: GitHub
I have to admit that I have no prior knowledge of coding and rely almost entirely on ChatGPT. But it can't solve this issue
This is my online web app that I hosted on pythonanywhere.com find_combi
you can see that I have to put a warning '[RECOMMEND Maximum: 5 values]' on. if input exceed this it will likely freeze, and user cannot just refresh the page. I have to go to reload on pythonanywhere.com myself.
The application freezes completely with larger dataset. I'm okay with longer load times as long as the application doesn't freeze completely
The goal is to make it able to accept around 100 input and not freezes