Fangjun Kuang
Committed by GitHub

fix typos in comments (#90)

@@ -70,8 +70,10 @@ def get_args(): @@ -70,8 +70,10 @@ def get_args():
70 parser.add_argument( 70 parser.add_argument(
71 "--wave-filename", 71 "--wave-filename",
72 type=str, 72 type=str,
73 - help="""Path to the wave filename. Must be 16 kHz,  
74 - mono with 16-bit samples""", 73 + help="""Path to the wave filename.
  74 + Should have a single channel with 16-bit samples.
  75 + It does not need to be 16kHz. It can have any sampling rate.
  76 + """,
75 ) 77 )
76 78
77 return parser.parse_args() 79 return parser.parse_args()
@@ -23,8 +23,8 @@ https://github.com/k2-fsa/sherpa-onnx/blob/master/sherpa-onnx/csrc/online-websoc @@ -23,8 +23,8 @@ https://github.com/k2-fsa/sherpa-onnx/blob/master/sherpa-onnx/csrc/online-websoc
23 23
24 import argparse 24 import argparse
25 import asyncio 25 import asyncio
26 -import time  
27 import sys 26 import sys
  27 +import time
28 28
29 import numpy as np 29 import numpy as np
30 30