18 lines
371 B
Python
18 lines
371 B
Python
#!/usr/bin/env python3
|
|
"""Start the FunASR-backed browser demo."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
PROJECT_ROOT = Path(__file__).resolve().parents[1]
|
|
if str(PROJECT_ROOT) not in sys.path:
|
|
sys.path.insert(0, str(PROJECT_ROOT))
|
|
|
|
from backend.realtime_websocket.funasr_server import main
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|