Update README.md
Browse files
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",
|