10 lines
242 B
Python
10 lines
242 B
Python
from cryptoai.monitor_endpoint import run_monitor
|
|
import os
|
|
import sys
|
|
|
|
# 添加项目根目录到Python路径
|
|
current_dir = os.path.dirname(os.path.abspath(__file__))
|
|
sys.path.append(current_dir)
|
|
|
|
if __name__ == "__main__":
|
|
run_monitor() |