langgz commited on
Commit
231f167
1 Parent(s): b57c9df

Update README_ja.md

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