funasr_wss_server.py 当python funasr_wss_client.py使用--audio_in方式时,没有正确返回asr,且造成客户端卡死
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- audio-video-rtc, backend
Research direction
Start with runtime/python/websocket/funasr_wss_server.py and funasr_wss_client.py, then reproduce the --audio_in case using the commands in the issue for offline, online, and 2pass modes. Trace how the server handles the final audio and completion signal; done means every mode returns the complete ASR result and the client closes automatically.
Written by the indexing model from the issue text.
Description
🐛 Bug
runtime/python/websocket/funasr_wss_server.py,这个代码好像有bug,funasr_wss_client.py 通过 --audio_in 上传文件这个用法,如果是 -mode offline 直接卡死没有输出;如果是 -mode online或2pass,音频的最后几个字一直识别不出来然后卡死
To Reproduce
- python funasr_wss_server.py --port 10095 启动服务器
- python funasr_wss_client.py --host 127.0.0.1 --port 10095 --mode offline --audio_in xxx
Expected behavior
funasr_wss_client.py --audio_in使用任何mode都应该正确返回完成的asr识别内容,且识别完后应该自动关闭
- Dominant language
- Python
- Stars
- 20.4k
- Forks
- 2k
- Avg merge
- 6h 31m
- Merged PRs (30d)
- 169
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from modelscope/FunASR
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
modelscope/FunASR#3704 · 1 comment ·
-
bug needs feedback
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
modelscope/FunASR#3401 · 2 comments ·
-
bug needs triage
Difficulty 4/5 3-5 days Newbie friendliness 30/100
modelscope/FunASR#3727 ·
-
needs triage question
Difficulty 4/5 3-5 days Newbie friendliness 30/100
modelscope/FunASR#3718 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
modelscope/FunASR#3717 · 1 comment ·
All issues in modelscope/FunASR
Similar issues
-
bug confirmed issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
open-webui/open-webui#30750 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 90/100