mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 15:19:59 +08:00
修正了一些错误
This commit is contained in:
parent
71ba1c1abe
commit
27358f1e2b
@ -246,8 +246,8 @@ def auto_cut(inp, max_length=30):
|
||||
final_items = []
|
||||
for item in items:
|
||||
final_items+=process_commas(item,max_length=max_length).split("\n")
|
||||
final_items = [item for item in final_items if item.strip() and not (len(item.strip())==2 and item[0] in "?!,,。?!~:.") and not item.isspace() and not item in "?!,,。?!~:."]
|
||||
|
||||
final_items = [item for item in final_items if item.strip() and not (len(item.strip()) == 1 and item.strip() in "?!,,。?!~:")]
|
||||
|
||||
return "\n".join(final_items)
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit fab890cf7c4543665bce47181115ad39cd6f518a
|
||||
Subproject commit 2de410df8b8a0725dbda04105509457f0163c18e
|
Loading…
x
Reference in New Issue
Block a user