@Nikhil N , Adding more info:
For Django apps, App Service looks for a file named wsgi.py
within your app code, and then runs Gunicorn.
So, you may use a custom startup command, replace <module> with the name of folder that contains wsgi.py, and add a --chdir argument if that module is not in the project root.
Your requirements.txt file must be at the root of your repository for App Service to automatically install the necessary packages.
As a side note, the startup script and modify all these paths relative to $APP_PATH.
I would suggest you to try the steps outlined in this doc for customization:
Configure a Linux Python app for Azure App Service - https://learn.microsoft.com/azure/app-service/configure-language-python#customize-build-automation