xszyou / Fay

Fay is an open-source digital human framework integrating language models and digital characters. It offers retail, assistant, and agent versions for diverse applications like virtual shopping guides, broadcasters, assistants, waiters, teachers, and voice or text-based mobile assistants.
GNU General Public License v3.0
8.6k stars 1.72k forks source link

使用funasr会断开 #113

Open priceou opened 2 months ago

priceou commented 2 months ago

报错信息: [14:01:10][系统] ------start------------- [14:01:10][系统] __connect 111111111111...... [14:01:10][系统] ------add_frame------------- [14:01:10][系统] {"mode": "online", "chunk_size": "0, 10, 5", "encoder_chunk_look_back": 4, "decoder_chunk_look_back": 1, "chunk_interval": 10, "wav_name": "default", "is_speaking": true} [14:01:10][系统] ------add_frame------------- --- request header --- GET / HTTP/1.1 Upgrade: websocket Host: localhost:10096 Origin: http://localhost:10096 Sec-WebSocket-Key: OB91oQJeY6Zn81f9kxQBVA== Sec-WebSocket-Version: 13 Connection: Upgrade

--- response header ---


--- response header --- Connection to remote host was lost. - goodbye [14:08:05][系统] ------start------------- [14:08:05][系统] __connect 111111111111......[14:08:05][系统] ------add_frame------------- [14:08:05][系统] {"mode": "online", "chunk_size": "0, 10, 5", "encoder_chunk_look_back": 4, "decoder_chunk_look_back": 1, "chunk_interval": 10, "wav_name": "default", "is_speaking": true} [14:08:05][系统] ------add_frame------------- [14:08:05][系统] ### error:Connection to remote host was lost. [14:08:05][系统] ### CLOSE:None --- request header --- GET / HTTP/1.1 Upgrade: websocket Host: localhost:10096 Origin: http://localhost:10096 Sec-WebSocket-Key: V2Irj9jaJQHkj8ElcM+OWQ== Sec-WebSocket-Version: 13 Connection: Upgrade

使用的是fay-fay-assistant-edition asr地址为localhost:10096 我直接使用python funasr_wss_client.py 启动是可以正常使用的,用fay里的funasr就不行