Fix the variable name (#2328)

This commit is contained in:
majic31 2024-12-24 10:00:14 +08:00 committed by GitHub
parent d2cd95bd67
commit 23e7ddebcc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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