Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Fangjun Kuang
2023-03-18 10:44:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2023-03-18 10:44:10 +0800
Commit
355c5ef541f012e518f2afacd6ff3c9c797a7551
355c5ef5
1 parent
2f9cd100
fix typos in comments (#90)
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
5 行增加
和
3 行删除
python-api-examples/decode-file.py
python-api-examples/online-websocket-client-microphone.py
python-api-examples/decode-file.py
查看文件 @
355c5ef
...
...
@@ -70,8 +70,10 @@ def get_args():
parser
.
add_argument
(
"--wave-filename"
,
type
=
str
,
help
=
"""Path to the wave filename. Must be 16 kHz,
mono with 16-bit samples"""
,
help
=
"""Path to the wave filename.
Should have a single channel with 16-bit samples.
It does not need to be 16kHz. It can have any sampling rate.
"""
,
)
return
parser
.
parse_args
()
...
...
python-api-examples/online-websocket-client-microphone.py
查看文件 @
355c5ef
...
...
@@ -23,8 +23,8 @@ https://github.com/k2-fsa/sherpa-onnx/blob/master/sherpa-onnx/csrc/online-websoc
import
argparse
import
asyncio
import
time
import
sys
import
time
import
numpy
as
np
...
...
请
注册
或
登录
后发表评论