mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
Fix the variable name (#2328)
This commit is contained in:
parent
d2cd95bd67
commit
23e7ddebcc
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user