17 lines
342 B
Python
17 lines
342 B
Python
#!/usr/bin/env python3
|
|
"""启动由 FunASR 驱动的浏览器演示服务。"""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
PROJECT_ROOT = Path(__file__).resolve().parents[1]
|
|
sys.path.insert(0, str(PROJECT_ROOT))
|
|
|
|
from backend.realtime_websocket.funasr_server import main
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|