Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraGPT committed Jul 4, 2024
1 parent cb67057 commit 7b7d13a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ m, kwargs = SenseVoiceSmall.from_pretrained(model=model_dir)

res = m.inference(
data_in="https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav",
language="zh",
language="zh", # "zn", "en", "yue", "ja", "ko", "nospeech"
use_itn=False,
**kwargs,
)
Expand All @@ -131,7 +131,7 @@ model = AutoModel(model=model_dir,
res = model.generate(
input=input_file,
cache={},
language="zh",
language="zh", # "zn", "en", "yue", "ja", "ko", "nospeech"
use_itn=False,
batch_size_s=0,
)
Expand All @@ -147,7 +147,7 @@ model = AutoModel(model=model_dir, trust_remote_code=True, device="cuda:0")
res = model.generate(
input=input_file,
cache={},
language="zh",
language="zh", # "zn", "en", "yue", "ja", "ko", "nospeech"
use_itn=False,
batch_size=64,
)
Expand Down

0 comments on commit 7b7d13a

Please sign in to comment.