import sys from pathlib import Path sys.path.insert(0, str(Path(__file__).resolve().parent / "src")) from compliment_forest.server import create_app app = create_app() demo = app if __name__ == "__main__": import uvicorn uvicorn.run(app, host="0.0.0.0", port=7860)