import sys, os
# Add your project directory to the sys.path
project_home = os.path.dirname(os.path.abspath(__file__))
if project_home not in sys.path:
sys.path = [project_home] + sys.path
# Import the Flask app
from index import app as application # cPanel looks for "application"