#!/usr/bin/env python # -*- coding: utf-8 -*- """ CryptoAI API 服务启动脚本 """ import os import sys # 添加项目根目录到Python路径 current_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(current_dir) from cryptoai.routes.fastapi_app import start if __name__ == "__main__": print("启动 CryptoAI API 服务...") start()