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):