import os
import sys

# Add the application directory to the Python path
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))

# Set the FLASK_APP environment variable
os.environ['FLASK_APP'] = 'app'  # Change 'app' if your file or package has a different name

# Import the app instance from your Flask application
from app import app as application  # Make sure your app is named 'app' inside app.py
