from pathlib import Path import sys APP_DIR = Path(__file__).parent / "app" sys.path.insert(0, str(APP_DIR)) from app import app if __name__ == "__main__": app.launch()