import os
import sys

# Ensure the app directory is at the front of Python's path
sys.path.insert(0, os.path.dirname(__file__))

# Import the Flask app instance and name it 'application'
from app import app as application