From cdc943c1fec88ee138a556b3d48b2e982f9fb712 Mon Sep 17 00:00:00 2001 From: duliangang Date: Thu, 22 Feb 2024 16:58:28 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9cbdcb3..5426c21 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ rec_result only contains {'feats'} model = AutoModel(model="iic/emotion2vec_base", model_revision="v2.0.4") wav_file = f"{model.model_path}/example/test.wav" rec_result = model.generate(wav_file, output_dir="./outputs", granularity="utterance") -print(res) +print(rec_result) ''' Using the finetuned emotion recognization model @@ -162,7 +162,7 @@ rec_result contains {'feats', 'labels', 'scores'} model = AutoModel(model="iic/emotion2vec_base_finetuned", model_revision="v2.0.4") wav_file = f"{model.model_path}/example/test.wav" rec_result = model.generate(wav_file, output_dir="./outputs", granularity="utterance", extract_embedding=False) -print(res) +print(rec_result) ``` The model will be downloaded automatically.