langgz commited on
Commit
b57c9df
1 Parent(s): 13b56a3

Update README_zh.md

Browse files
Files changed (1) hide show
  1. README_zh.md +1 -1
README_zh.md CHANGED
@@ -169,7 +169,7 @@ from funasr.utils.postprocess_utils import rich_transcription_postprocess
169
 
170
  model_dir = "FunAudioLLM/SenseVoiceSmall"
171
  m, kwargs = SenseVoiceSmall.from_pretrained(model=model_dir, device="cuda:0", hub="hf")
172
-
173
 
174
  res = m.inference(
175
  data_in=f"{kwargs['model_path']}/example/en.mp3",
 
169
 
170
  model_dir = "FunAudioLLM/SenseVoiceSmall"
171
  m, kwargs = SenseVoiceSmall.from_pretrained(model=model_dir, device="cuda:0", hub="hf")
172
+ m.eval()
173
 
174
  res = m.inference(
175
  data_in=f"{kwargs['model_path']}/example/en.mp3",