Here is part of flask code where I am trying to integrate with the code but getting error, where index.py is my python file and search.html is the frontend code. I am getting 'View function did not return a response'. I was wondering if anyone can help finding the error.