From 23e7ddebccd3b05cf7ef89809bcfe565ad6dfa1f Mon Sep 17 00:00:00 2001 From: majic31 Date: Tue, 24 Dec 2024 10:00:14 +0800 Subject: [PATCH] Fix the variable name (#2328) --- runtime/python/onnxruntime/funasr_onnx/sensevoice_bin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/python/onnxruntime/funasr_onnx/sensevoice_bin.py b/runtime/python/onnxruntime/funasr_onnx/sensevoice_bin.py index bf325c84d..9cfe46f81 100644 --- a/runtime/python/onnxruntime/funasr_onnx/sensevoice_bin.py +++ b/runtime/python/onnxruntime/funasr_onnx/sensevoice_bin.py @@ -92,7 +92,7 @@ class SenseVoiceSmall: return self.lid_dict[lid] else: raise ValueError( - f"The language {l} is not in {list(self.lid_dict.keys())}" + f"The language {lid} is not in {list(self.lid_dict.keys())}" ) def _get_tnid(self, tnid):