mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-22 07:03:53 +08:00
13 lines
243 B
Python
13 lines
243 B
Python
import os
|
|
import sys
|
|
|
|
# 添加项目根目录到Python路径
|
|
project_root = os.path.dirname(os.path.abspath(__file__))
|
|
sys.path.append(project_root)
|
|
|
|
from core.webui import WebUI
|
|
|
|
if __name__ == '__main__':
|
|
webui = WebUI()
|
|
webui.run()
|