mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-05-20 21:19:17 +08:00
Add Liang (#1613)
This commit is contained in:
parent
0c000191b3
commit
192ea6f6c9
@ -186,6 +186,7 @@ def replace_positive_quantifier(match) -> str:
|
|||||||
match_2: str = match_2 if match_2 else ""
|
match_2: str = match_2 if match_2 else ""
|
||||||
quantifiers: str = match.group(3)
|
quantifiers: str = match.group(3)
|
||||||
number: str = num2str(number)
|
number: str = num2str(number)
|
||||||
|
number = "两" if number == "二" else number
|
||||||
result = f"{number}{match_2}{quantifiers}"
|
result = f"{number}{match_2}{quantifiers}"
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user