langgz commited on
Commit
13b56a3
·
verified ·
1 Parent(s): d450a81

Update README.md

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